mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
network/elinks: Updated for version 0.11.5
This commit is contained in:
parent
5c694a0073
commit
6d159af4c5
2 changed files with 10 additions and 4 deletions
|
@ -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}
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue