diff options
author | slakmagik <jsun@freeshell.org> | 2010-05-12 17:43:57 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-12 17:43:57 +0200 |
commit | f7aaa9cc9279b5b759fc7ef72681d477f61b61e7 (patch) | |
tree | 01c40359f7703c8a65adb4ce578dc4d1abf77f05 /network/newsbeuter/newsbeuter.SlackBuild | |
parent | 9e56b7367aa46683f099b0737b839cc02622a8f8 (diff) | |
download | slackbuilds-f7aaa9cc9279b5b759fc7ef72681d477f61b61e7.tar.gz |
network/newsbeuter: Updated for version 1.3
Diffstat (limited to 'network/newsbeuter/newsbeuter.SlackBuild')
-rw-r--r-- | network/newsbeuter/newsbeuter.SlackBuild | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/network/newsbeuter/newsbeuter.SlackBuild b/network/newsbeuter/newsbeuter.SlackBuild index 1c9a67d945..ee67ec53cb 100644 --- a/network/newsbeuter/newsbeuter.SlackBuild +++ b/network/newsbeuter/newsbeuter.SlackBuild @@ -5,7 +5,7 @@ # Released under the WTFPL PRGNAM=newsbeuter -VERSION=1.2 +VERSION=${VERSION:-1.3} ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -19,6 +19,8 @@ if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" fi set -e @@ -36,8 +38,9 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 \ -o -perm 400 \) -exec chmod 644 {} \; -CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS" \ - prefix=/usr docdir=/usr/doc/$PRGNAM-$VERSION mandir=/usr/man make +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ + make prefix=/usr docdir=/usr/doc/$PRGNAM-$VERSION mandir=/usr/man make prefix=$PKG/usr docdir=$PKG/usr/doc/$PRGNAM-$VERSION \ mandir=$PKG/usr/man install @@ -47,7 +50,7 @@ find $PKG | xargs file | grep -e "executable" -e "shared object"| grep ELF | \ ( cd $PKG/usr/man find . -type f -exec gzip -9 {} \; - for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done + for i in $(find . -type l); do ln -s $(readlink $i).gz $i.gz; rm $i; done ) cp -a [ACLRT]* $PKG/usr/doc/$PRGNAM-$VERSION |