diff options
author | Larry Hajali <larryhaja[at]gmail[dot]com> | 2011-03-03 22:33:05 -0600 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2011-03-04 10:12:48 -0600 |
commit | 2cd06312acae8dff5c7b9e90a801d574e9feae29 (patch) | |
tree | 34386501e83f6cd5daca24586933db5f87c23f24 /libraries/libAfterImage/libAfterImage.SlackBuild | |
parent | c42b16167c474e823a114e53cf035d4da15e0b24 (diff) |
libraries/libAfterImage: Updated for version 1.20.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'libraries/libAfterImage/libAfterImage.SlackBuild')
-rw-r--r-- | libraries/libAfterImage/libAfterImage.SlackBuild | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/libraries/libAfterImage/libAfterImage.SlackBuild b/libraries/libAfterImage/libAfterImage.SlackBuild index a696e3b3c241a..07808618d6612 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 |