summaryrefslogtreecommitdiffstats
path: root/source/l
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2019-02-13 23:01:59 +0000
committer Eric Hameleers <alien@slackware.com>2019-02-14 08:59:45 +0100
commit401b2ac2e8dd2e8d5c171c9947444e1271eb0a6b (patch)
tree7ec955539e2b98203fdf43c1a8c3bf99cb34dc04 /source/l
parent73d387f5699866c6d340e729855cccab9c82c602 (diff)
downloadcurrent-401b2ac2e8dd2e8d5c171c9947444e1271eb0a6b.tar.gz
current-401b2ac2e8dd2e8d5c171c9947444e1271eb0a6b.tar.xz
Wed Feb 13 23:01:59 UTC 201920190213230159
l/giflib-5.1.6-x86_64-1.txz: Upgraded. n/getmail-5.11-x86_64-1.txz: Upgraded. x/xterm-344-x86_64-1.txz: Upgraded. xap/mozilla-firefox-60.5.1esr-x86_64-1.txz: Upgraded. This release contains security fixes and improvements. For more information, see: https://www.mozilla.org/security/known-vulnerabilities/firefoxESR.html https://www.mozilla.org/en-US/security/advisories/mfsa2019-05/ https://www.mozilla.org/en-US/security/advisories/mfsa2019-05/#CVE-2018-18356 https://www.mozilla.org/en-US/security/advisories/mfsa2019-05/#CVE-2019-5785 https://www.mozilla.org/en-US/security/advisories/mfsa2019-05/#CVE-2018-18335 (* Security fix *)
Diffstat (limited to 'source/l')
-rwxr-xr-xsource/l/giflib/giflib.SlackBuild22
-rw-r--r--source/l/giflib/giflib.url1
2 files changed, 9 insertions, 14 deletions
diff --git a/source/l/giflib/giflib.SlackBuild b/source/l/giflib/giflib.SlackBuild
index 1d874b07c..d815a4912 100755
--- a/source/l/giflib/giflib.SlackBuild
+++ b/source/l/giflib/giflib.SlackBuild
@@ -23,8 +23,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=giflib
-VERSION=${VERSION:-$(echo giflib-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-$(echo giflib-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
+BUILD=${BUILD:-1}
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
@@ -67,7 +67,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG
cd $TMP
rm -rf giflib-$VERSION
-tar xvf $CWD/giflib-$VERSION.tar.?z* || exit 1
+tar xvf $CWD/giflib-$VERSION.tar.?z || exit 1
cd giflib-$VERSION
chown -R root:root .
find . \
@@ -76,17 +76,11 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-CFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --mandir=/usr/man \
- --with-x=no \
- --disable-static \
- --build=$ARCH-slackware-linux || exit 1
+make PREFIX=/usr LIBDIR=/usr/lib${LIBDIRSUFFIX} MANDIR=/usr/man/man1 $NUMJOBS || make || exit 1
+make PREFIX=/usr LIBDIR=/usr/lib${LIBDIRSUFFIX} MANDIR=/usr/man/man1 install DESTDIR=$PKG || exit 1
-make $NUMJOBS || make || exit 1
-make install DESTDIR=$PKG || exit 1
+# Don't ship static library:
+rm $PKG/usr/lib${LIBDIRSUFFIX}/*.a
# Don't ship .la files:
rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
@@ -108,7 +102,7 @@ cp -a \
AUTHORS BUGS COPYING DEVELOPERS INSTALL NEWS ONEWS README TODO \
$PKG/usr/doc/giflib-$VERSION
cp -a doc $PKG/usr/doc/giflib-$VERSION/html
-rm $PKG/usr/doc/giflib-$VERSION/html/Makefile*
+rm $PKG/usr/doc/giflib-$VERSION/html/{Makefile*,*.in,*.1,*.xml}
# If there's a ChangeLog, installing at least part of the recent history
# is useful, but don't let it get totally out of control:
diff --git a/source/l/giflib/giflib.url b/source/l/giflib/giflib.url
new file mode 100644
index 000000000..78dc47733
--- /dev/null
+++ b/source/l/giflib/giflib.url
@@ -0,0 +1 @@
+https://sourceforge.net/projects/giflib/