summaryrefslogtreecommitdiff
path: root/libraries/libAfterImage/libAfterImage.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libAfterImage/libAfterImage.SlackBuild')
-rw-r--r--libraries/libAfterImage/libAfterImage.SlackBuild17
1 files changed, 6 insertions, 11 deletions
diff --git a/libraries/libAfterImage/libAfterImage.SlackBuild b/libraries/libAfterImage/libAfterImage.SlackBuild
index a696e3b3c2..07808618d6 100644
--- a/libraries/libAfterImage/libAfterImage.SlackBuild
+++ b/libraries/libAfterImage/libAfterImage.SlackBuild
@@ -6,7 +6,7 @@
# Modified by SlackBuilds.org
PRGNAM=libAfterImage
-VERSION=${VERSION:-1.18}
+VERSION=${VERSION:-1.20}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -23,8 +23,6 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-DOCS="ChangeLog README"
-
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX=""
@@ -54,6 +52,9 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# Get rid of ldconfig in Makefile
+find . -name "Makefile*" -exec sed -i '/LDCONFIG/d' {} \;
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -63,16 +64,15 @@ CXXFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--mandir=/usr/man \
--enable-sharedlibs \
+ --disable-staticlibs \
--enable-shmimage \
--enable-shaping \
--enable-glx \
- --enable-mmx-optimization \
--with-jpeg \
--with-png \
--with-tiff \
--with-svg \
--with-xpm \
- --with-builtin-gif \
--with-ttf \
--with-x \
--build=$ARCH-slackware-linux
@@ -83,15 +83,10 @@ make install DESTDIR=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
-mv $PKG/usr/share/$PRGNAM/doc/html/ $PKG/usr/doc/$PRGNAM-$VERSION
-rm -rf $PKG/usr/share
+cp -a ChangeLog README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc