slackbuilds_ponce/libraries/libslack/notwanted-0.7.3.diff
Christoph Willing 87b1d3494a
libraries/libslack: Updated for version 0.7.3
Signed-off-by: Christoph Willing <chris.willing@linux.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2023-07-02 23:21:23 +07:00

114 lines
3.8 KiB
Diff

--- libslack-config.pod.orig 2023-03-30 14:30:22.000000000 +1000
+++ libslack-config.pod 2023-06-26 18:40:09.568000000 +1000
@@ -31,13 +31,10 @@
-h, --help - Print this help and exit
-v, --version - Print the version of the currently installed libslack
-L, --latest - Print the latest version of libslack (uses wget)
- -D, --download - Download the latest version of libslack (uses wget)
- -U, --upgrade - Upgrade to the latest version of libslack (uses wget)
-p, --prefix - Print the prefix directory of the libslack installation
-c, --cflags - Print CFLAGS needed to compile clients of libslack
-l, --libs - Print LDFLAGS needed to link against libslack
-l, --ldflags - Identical to --libs
- -u, --uninstall - Uninstall libslack
Note: The dashes are optional for long option names
@@ -74,19 +71,6 @@
Print the latest version of I<libslack> available at
C<https://libslack.org>.
-=item C<-D>, C<--download>
-
-Download the latest version of I<libslack> from
-C<https://libslack.org>.
-
-=item C<-U>, C<--upgrade>
-
-Upgrade to the latest version of I<libslack> from
-C<https://libslack.org>. This downloads the latest
-version, configures it, compiles it, uninstalls the currently installed
-version and then installs the new version wherever the current version
-was installed.
-
=item C<-p>, C<--prefix>
Print the prefix directory under which I<libslack> was installed.
@@ -99,10 +83,6 @@
Print the linker flags needed to link code against I<libslack>.
-=item C<-u>, C<--uninstall>
-
-Uninstall I<libslack>.
-
=back
=head1 SEE ALSO
--- libslack-config.t.orig 2023-03-30 14:30:22.000000000 +1000
+++ libslack-config.t 2023-06-26 18:41:34.885000000 +1000
@@ -46,13 +46,10 @@
-h, --help - Print this help and exit
-v, --version - Print the version of the currently installed libslack
-L, --latest - Print the latest version of libslack (uses wget)
- -D, --download - Download the latest version of libslack (uses wget)
- -U, --upgrade - Upgrade to the latest version of libslack (uses wget)
-p, --prefix - Print the prefix directory of the libslack installation
-c, --cflags - Print CFLAGS needed to compile clients of libslack
-l, --libs - Print LDFLAGS needed to link against libslack
-l, --ldflags - Identical to --libs
- -u, --uninstall - Uninstall libslack
Note: the dashes are optional for long option names
@@ -103,36 +100,6 @@
'
}
-download()
-{
- latest="`latest 2>&1`"
- test "$latest" = "No versions found at ${url}/download" && die "$latest"
- file="`echo $latest | sed 's/^.*\///'`"
- test -f "$file" && die "The file $file already exists"
- wget "$latest"
-}
-
-upgrade()
-{
- latest="`latest 2>&1`"
- test "$latest" = "No versions found at ${url}/download" && die "$latest"
- file="`echo $latest | sed 's/^.*\///'`"
- dir="`echo $file | sed 's/\.tar\.gz$//'`"
- test -f "$file" || wget "$latest"
- test -s "$file" || die "Failed to download $latest"
- tar xzf "$file" || die "Failed to untar $file"
- cd "$dir" || die "Failed to cd $dir"
- ./configure || die "Failed to configure $dir"
- make || die "Failed to make $dir"
- uninstall || die "Failed to uninstall current version"
- make PREFIX="$prefix" install || die "Failed to install $dir into $prefix"
- cd .. && rm -rf "$dir"
-}
-
-uninstall()
-{
-@@UNINSTALL@@
-}
test $# -eq 0 && usage 1 1>&2
@@ -142,13 +109,10 @@
-h|--help|help) usage 0;;
-v|--version|version) echo "$version";;
-L|--latest|latest) latest;;
- -D|--download|download) download;;
- -U|--upgrade|upgrade) upgrade;;
-p|--prefix|prefix) echo "$prefix";;
-c|--cflags|cflags) echo "$cflags";;
-l|--libs|libs) echo "$libs";;
-l|--ldflags|ldflags) echo "$libs";;
- -u|--uninstall|uninstall) uninstall;;
*) usage 1 >&2;;
esac
shift