summaryrefslogtreecommitdiffstats
path: root/libraries/libicns/libicns.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libicns/libicns.SlackBuild')
-rw-r--r--libraries/libicns/libicns.SlackBuild16
1 files changed, 6 insertions, 10 deletions
diff --git a/libraries/libicns/libicns.SlackBuild b/libraries/libicns/libicns.SlackBuild
index 9a46eb90ec..baeeb4689a 100644
--- a/libraries/libicns/libicns.SlackBuild
+++ b/libraries/libicns/libicns.SlackBuild
@@ -1,11 +1,13 @@
-#!/bin/sh
+#!/bin/bash
-# Slackware build script for icns
+# Slackware build script for libicns
# Written by B. Watson (yalhcru@gmail.com)
+# Licensed under the WTFPL. See http://sam.zoy.org/wtfpl/ for details.
+
PRGNAM=libicns
-VERSION=${VERSION:-0.7.1}
+VERSION=${VERSION:-0.8.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -51,11 +53,6 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-# PNG hack needed because libpng renamed an API function in version 1.4.
-# Comment this out if you're building on an old release of Slackware that
-# still uses libpng-1.2. See http://libpng.sourceforge.net/ANNOUNCE-1.4.0.txt
-PNGHACK="-Dpng_set_gray_1_2_4_to_8=png_set_expand_gray_1_2_4_to_8"
-
CFLAGS="$SLKCFLAGS $PNGHACK" \
CXXFLAGS="$SLKCFLAGS $PNGHACK" \
./configure \
@@ -74,10 +71,9 @@ make install-strip DESTDIR=$PKG
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-# NEWS is a 0-byte file in 0.71, don't bother
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- AUTHORS COPYING ChangeLog DEVNOTES INSTALL README TODO \
+ AUTHORS COPYING* ChangeLog DEVNOTES NEWS README TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild