network/newsbeuter: Updated for version 1.3

This commit is contained in:
slakmagik 2010-05-12 17:43:57 +02:00 committed by David Somero
parent 9e56b7367a
commit f7aaa9cc92
3 changed files with 11 additions and 8 deletions

View file

@ -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.

View file

@ -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

View file

@ -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"