aboutsummaryrefslogtreecommitdiff
path: root/network/elinks
diff options
context:
space:
mode:
authorBrian Muramatsu <btmura@gmail.com>2010-05-13 00:36:21 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-13 00:36:21 +0200
commit6d159af4c566d5d2d52c9f48e172bfc30b552f5f (patch)
tree7f861b73f90ed36affeb63686718f64a3199021a /network/elinks
parent5c694a007370a08accb4e468f8710cbc69668e6a (diff)
network/elinks: Updated for version 0.11.5
Diffstat (limited to 'network/elinks')
-rw-r--r--network/elinks/elinks.SlackBuild12
-rw-r--r--network/elinks/elinks.info2
2 files changed, 10 insertions, 4 deletions
diff --git a/network/elinks/elinks.SlackBuild b/network/elinks/elinks.SlackBuild
index 019021da0c96..75b59ba70032 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 046e8db2c89e..f64c7035f156 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"