network/openrdate: Updated for version 1.2

This commit is contained in:
slakmagik 2010-05-12 17:44:05 +02:00 committed by David Somero
parent 2c72e37094
commit 1776c3e9ab
2 changed files with 12 additions and 10 deletions

View file

@ -5,7 +5,7 @@
# Released under the WTFPL
PRGNAM=openrdate
VERSION=1.1.3
VERSION=${VERSION:-1.2}
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
@ -53,15 +55,15 @@ make DESTDIR=$PKG install
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
)
( 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
)
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a [ACINR]* $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
( 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
)
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc

View file

@ -1,8 +1,8 @@
PRGNAM="openrdate"
VERSION="1.1.3"
VERSION="1.2"
HOMEPAGE="http://sourceforge.net/projects/openrdate/"
DOWNLOAD="http://downloads.sourceforge.net/openrdate/openrdate-1.1.3.tar.gz"
MD5SUM="af4785f615b9d87b9c86a32af4ecc225"
DOWNLOAD="http://downloads.sourceforge.net/openrdate/openrdate-1.2.tar.gz"
MD5SUM="ad9bd58e1fb7babc74d0a0a16a1248a2"
MAINTAINER="slakmagik"
EMAIL="jsun@freeshell.org"
APPROVED="David Somero"
APPROVED="dsomero"