diff options
Diffstat (limited to 'network/openrdate')
-rw-r--r-- | network/openrdate/README | 2 | ||||
-rw-r--r-- | network/openrdate/openrdate.SlackBuild | 13 |
2 files changed, 3 insertions, 12 deletions
diff --git a/network/openrdate/README b/network/openrdate/README index a68bc74674..a8ff621639 100644 --- a/network/openrdate/README +++ b/network/openrdate/README @@ -1,5 +1,5 @@ Good-old rdate date- and time-setting software implementing RFC 868 (inetd time) and RFC 2030 (SNTP/NTP) protocols. An independent package -of the OpenBSD's rdate program. +of OpenBSD's rdate program. An alternative to netdate and ntpd/ntpdate. diff --git a/network/openrdate/openrdate.SlackBuild b/network/openrdate/openrdate.SlackBuild index 1bed5acac8..287bcbe480 100644 --- a/network/openrdate/openrdate.SlackBuild +++ b/network/openrdate/openrdate.SlackBuild @@ -9,12 +9,10 @@ VERSION=${VERSION:-1.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -59,21 +57,14 @@ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ --bindir=/usr/sbin \ --mandir=/usr/man \ --build=$ARCH-slackware-linux make -make DESTDIR=$PKG install +make DESTDIR=$PKG install-strip -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -( 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 -) +find $PKG/usr/man -type f -exec gzip -9 {} \; mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a [ACINR]* $PKG/usr/doc/$PRGNAM-$VERSION |