aboutsummaryrefslogtreecommitdiff
path: root/network/openrdate
diff options
context:
space:
mode:
authorslakmagik <jsun@freeshell.org>2010-05-12 17:44:05 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-12 17:44:05 +0200
commit1776c3e9abae16e8c91a93b1635a08125d55893c (patch)
treed825553f97cea23bc7cdc530da3c6968bbb27cc7 /network/openrdate
parent2c72e370943c38c240ac549829208b9e60bcde71 (diff)
network/openrdate: Updated for version 1.2
Diffstat (limited to 'network/openrdate')
-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 9862faf1c94f7..ac207050ec325 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 2433dff38906a..10a13c4dc792e 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"