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>
This commit is contained in:
Christoph Willing 2023-06-26 20:43:09 +10:00 committed by Willy Sudiarto Raharjo
parent 271d2bc0cf
commit 87b1d3494a
No known key found for this signature in database
GPG key ID: 3F617144D7238786
3 changed files with 22 additions and 25 deletions

View file

@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libslack
VERSION=${VERSION:-0.7.2}
VERSION=${VERSION:-0.7.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -86,7 +86,7 @@ find -L . \
-exec chmod 644 {} \;
# Strip update, download and uninstall capabilities from libslack-config
patch -p1 < $CWD/notwanted.patch
patch -p0 < $CWD/notwanted-0.7.3.diff
# Set our CFLAGS
sed -i "s|-O3|$SLKCFLAGS|" conf/linux Makefile

View file

@ -1,10 +1,10 @@
PRGNAM="libslack"
VERSION="0.7.2"
VERSION="0.7.3"
HOMEPAGE="https://libslack.org"
DOWNLOAD="https://libslack.org/download/libslack-0.7.2.tar.gz \
https://libslack.org/download/libslack-0.7.2-html.tar.gz"
MD5SUM="1a4c12d5f1c49dbd754a8d83477cc2b0 \
c28ea38edf56283f63a98f41e7d933b4"
DOWNLOAD="https://libslack.org/download/libslack-0.7.3.tar.gz \
https://libslack.org/download/libslack-0.7.3-html.tar.gz"
MD5SUM="f6925b8de22b06d4ff60ffa05e8dbc63 \
a62cc5e649b5ce98d192ccd2158c4983"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""

View file

@ -1,7 +1,6 @@
diff -Naur libslack-0.6.orig/libslack-config.pod libslack-0.6/libslack-config.pod
--- libslack-0.6.orig/libslack-config.pod 2010-06-12 15:37:00.000000000 +0200
+++ libslack-0.6/libslack-config.pod 2013-01-02 20:36:02.802707880 +0100
@@ -32,13 +32,10 @@
--- 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)
@ -15,19 +14,19 @@ diff -Naur libslack-0.6.orig/libslack-config.pod libslack-0.6/libslack-config.po
Note: The dashes are optional for long option names
@@ -75,19 +72,6 @@
@@ -74,19 +71,6 @@
Print the latest version of I<libslack> available at
C<http://libslack.org/>.
C<https://libslack.org>.
-=item C<-D>, C<--download>
-
-Download the latest version of I<libslack> from
-C<http://libslack.org/>.
-C<https://libslack.org>.
-
-=item C<-U>, C<--upgrade>
-
-Upgrade to the latest version of I<libslack> from
-C<http://libslack.org/>. This downloads the latest
-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.
@ -35,7 +34,7 @@ diff -Naur libslack-0.6.orig/libslack-config.pod libslack-0.6/libslack-config.po
=item C<-p>, C<--prefix>
Print the prefix directory under which I<libslack> was installed.
@@ -100,10 +84,6 @@
@@ -99,10 +83,6 @@
Print the linker flags needed to link code against I<libslack>.
@ -46,10 +45,9 @@ diff -Naur libslack-0.6.orig/libslack-config.pod libslack-0.6/libslack-config.po
=back
=head1 SEE ALSO
diff -Naur libslack-0.6.orig/libslack-config.t libslack-0.6/libslack-config.t
--- libslack-0.6.orig/libslack-config.t 2010-06-12 15:37:00.000000000 +0200
+++ libslack-0.6/libslack-config.t 2013-01-02 19:55:45.772706368 +0100
@@ -45,13 +45,10 @@
--- 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)
@ -63,14 +61,14 @@ diff -Naur libslack-0.6.orig/libslack-config.t libslack-0.6/libslack-config.t
Note: the dashes are optional for long option names
@@ -102,37 +99,6 @@
@@ -103,36 +100,6 @@
'
}
-download()
-{
- latest="`latest 2>&1`"
- test "$latest" = "No versions found at ${url}download" && die "$latest"
- 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"
@ -97,11 +95,10 @@ diff -Naur libslack-0.6.orig/libslack-config.t libslack-0.6/libslack-config.t
-{
-@@UNINSTALL@@
-}
-
test $# -eq 0 && usage 1 1>&2
while test $# -gt 0
@@ -141,13 +107,10 @@
@@ -142,13 +109,10 @@
-h|--help|help) usage 0;;
-v|--version|version) echo "$version";;
-L|--latest|latest) latest;;