summaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
Diffstat (limited to 'network')
-rw-r--r--network/openrdate/openrdate.SlackBuild14
-rw-r--r--network/openrdate/openrdate.info8
2 files changed, 12 insertions, 10 deletions
diff --git a/network/openrdate/openrdate.SlackBuild b/network/openrdate/openrdate.SlackBuild
index 9862faf1c9..ac207050ec 100644
--- a/network/openrdate/openrdate.SlackBuild
+++ b/network/openrdate/openrdate.SlackBuild
@@ -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
)
-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
+ 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
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
diff --git a/network/openrdate/openrdate.info b/network/openrdate/openrdate.info
index 2433dff389..10a13c4dc7 100644
--- a/network/openrdate/openrdate.info
+++ b/network/openrdate/openrdate.info
@@ -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"