diff options
author | Brian Muramatsu <btmura@gmail.com> | 2010-05-13 00:36:21 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-13 00:36:21 +0200 |
commit | 6d159af4c566d5d2d52c9f48e172bfc30b552f5f (patch) | |
tree | 7f861b73f90ed36affeb63686718f64a3199021a /network/elinks/elinks.SlackBuild | |
parent | 5c694a007370a08accb4e468f8710cbc69668e6a (diff) | |
download | slackbuilds-6d159af4c566d5d2d52c9f48e172bfc30b552f5f.tar.gz |
network/elinks: Updated for version 0.11.5
Diffstat (limited to 'network/elinks/elinks.SlackBuild')
-rw-r--r-- | network/elinks/elinks.SlackBuild | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/network/elinks/elinks.SlackBuild b/network/elinks/elinks.SlackBuild index 019021da0c..75b59ba700 100644 --- a/network/elinks/elinks.SlackBuild +++ b/network/elinks/elinks.SlackBuild @@ -19,11 +19,14 @@ PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i386" ]; then - SLKCFLAGS="-O2 -march=i386 -mtune=i686" + SLKCFLAGS="-O2 -march=i386 -mtune=i686" + LIBDIRSUFFIX="" elif [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" fi rm -rf $PKG @@ -38,6 +41,7 @@ chmod -R u+w,go+r-w,a-s . CFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc \ --localstatedir=/var \ --with-guile \ @@ -82,4 +86,4 @@ mv $PKG/usr/share/man $PKG/usr ) 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} |