summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libraries/libAfterImage/libAfterImage.SlackBuild12
-rw-r--r--libraries/libAfterImage/libAfterImage.info2
2 files changed, 11 insertions, 3 deletions
diff --git a/libraries/libAfterImage/libAfterImage.SlackBuild b/libraries/libAfterImage/libAfterImage.SlackBuild
index 7d5fd0da50..b16fdd8dcc 100644
--- a/libraries/libAfterImage/libAfterImage.SlackBuild
+++ b/libraries/libAfterImage/libAfterImage.SlackBuild
@@ -20,10 +20,13 @@ DOCS="ChangeLog README"
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
fi
set -e
@@ -45,6 +48,7 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
@@ -67,8 +71,10 @@ make
make install DESTDIR=$PKG
( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
- find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
+ find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
+ xargs strip --strip-unneeded 2> /dev/null || true
+ find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
+ xargs strip --strip-unneeded 2> /dev/null
)
( cd $PKG/usr/man
@@ -87,4 +93,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/libraries/libAfterImage/libAfterImage.info b/libraries/libAfterImage/libAfterImage.info
index eeed3bcde5..88a0e3cf53 100644
--- a/libraries/libAfterImage/libAfterImage.info
+++ b/libraries/libAfterImage/libAfterImage.info
@@ -2,7 +2,9 @@ PRGNAM="libAfterImage"
VERSION="1.18"
HOMEPAGE="http://www.afterstep.org/afterimage/"
DOWNLOAD="ftp://ftp.afterstep.org/stable/libAfterImage/libAfterImage-1.18.tar.bz2"
+DOWNLOAD_x86_64=""
MD5SUM="56a455b7710e2f3e2f9748777e87b8cd"
+MD5SUM_x86_64=""
MAINTAINER="Larry Hajali"
EMAIL="larryhaja[at]gmail[dot]com"
APPROVED="dsomero"