diff options
Diffstat (limited to 'network/newsbeuter')
-rw-r--r-- | network/newsbeuter/README | 2 | ||||
-rw-r--r-- | network/newsbeuter/newsbeuter.SlackBuild | 11 | ||||
-rw-r--r-- | network/newsbeuter/newsbeuter.info | 6 |
3 files changed, 11 insertions, 8 deletions
diff --git a/network/newsbeuter/README b/network/newsbeuter/README index d4bcc5fd95b81..8684922b7faa2 100644 --- a/network/newsbeuter/README +++ b/network/newsbeuter/README @@ -4,5 +4,5 @@ example news or blog articles. Newsbeuter is designed to be used on text terminals on Unix or Unix-like systems such as Linux, BSD or Mac OS X. -You will need to have stfl and sqlite (from SlackBuilds.org) installed to +You will need to have stfl (from SlackBuilds.org) installed to build this. diff --git a/network/newsbeuter/newsbeuter.SlackBuild b/network/newsbeuter/newsbeuter.SlackBuild index 1c9a67d945108..ee67ec53cb134 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 diff --git a/network/newsbeuter/newsbeuter.info b/network/newsbeuter/newsbeuter.info index e610e3e22c58a..5968d3a3883df 100644 --- a/network/newsbeuter/newsbeuter.info +++ b/network/newsbeuter/newsbeuter.info @@ -1,8 +1,8 @@ PRGNAM="newsbeuter" -VERSION="1.2" +VERSION="1.3" HOMEPAGE="http://www.newsbeuter.org/" -DOWNLOAD="http://www.newsbeuter.org/downloads/newsbeuter-1.2.tar.gz" -MD5SUM="3280583b502aa3b77524ce88bcea430f" +DOWNLOAD="http://www.newsbeuter.org/downloads/newsbeuter-1.3.tar.gz" +MD5SUM="7246e37ed0067ab55803be4b1d144c50" MAINTAINER="slakmagik" EMAIL="jsun@freeshell.org" APPROVED="dsomero" |