aboutsummaryrefslogtreecommitdiff
path: root/libraries/libAfterImage
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja[at]gmail[dot]com>2010-05-13 00:30:03 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-13 00:30:03 +0200
commit7e126e594fdcbc640af8c9e758441cce9c7ac510 (patch)
tree368da3b44283f0cbc15006b4999f5fdde26046df /libraries/libAfterImage
parent3b28737609b3e017dfa49279de3d148bf526fcf1 (diff)
libraries/libAfterImage: Updated for version 1.18
Diffstat (limited to 'libraries/libAfterImage')
-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 7d5fd0da5025..b16fdd8dcc66 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 eeed3bcde556..88a0e3cf535a 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"