diff options
-rw-r--r-- | network/elinks/elinks.SlackBuild | 12 | ||||
-rw-r--r-- | network/elinks/elinks.info | 2 |
2 files changed, 10 insertions, 4 deletions
diff --git a/network/elinks/elinks.SlackBuild b/network/elinks/elinks.SlackBuild index 019021da0c96b..75b59ba70032e 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} diff --git a/network/elinks/elinks.info b/network/elinks/elinks.info index 046e8db2c89e5..f64c7035f156a 100644 --- a/network/elinks/elinks.info +++ b/network/elinks/elinks.info @@ -2,7 +2,9 @@ PRGNAM="elinks" VERSION="0.11.5" HOMEPAGE="http://elinks.or.cz/" DOWNLOAD="http://elinks.or.cz/download/elinks-0.11.5.tar.bz2" +DOWNLOAD_x86_64="" MD5SUM="7dccdb6568d7eeda68912f6541496b7e" +MD5SUM_x86_64="" MAINTAINER="Brian Muramatsu" EMAIL="btmura@gmail.com" APPROVED="rworkman" |