summaryrefslogtreecommitdiff
path: root/graphics/gifsicle/gifsicle.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/gifsicle/gifsicle.SlackBuild')
-rw-r--r--graphics/gifsicle/gifsicle.SlackBuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/graphics/gifsicle/gifsicle.SlackBuild b/graphics/gifsicle/gifsicle.SlackBuild
index 7876d29a13..dd1d4fc375 100644
--- a/graphics/gifsicle/gifsicle.SlackBuild
+++ b/graphics/gifsicle/gifsicle.SlackBuild
@@ -7,7 +7,7 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
PRGNAM=gifsicle
-VERSION=${VERSION:-1.88}
+VERSION=${VERSION:-1.89}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -53,6 +53,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# v1.88 shipped the configure script, v1.89 we have to generate it.
+[ -x configure ] || autoreconf -ifv
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -68,8 +71,9 @@ make
make install-strip DESTDIR=$PKG
gzip $PKG/usr/man/man?/*.?
+# NEWS => NEWS.md, README => README.md. Preserve backwards compatibility.
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a COPYING NEWS README.md $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a COPYING NEWS* README* $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install