diff options
Diffstat (limited to 'network/radvd/radvd.SlackBuild')
-rw-r--r-- | network/radvd/radvd.SlackBuild | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/network/radvd/radvd.SlackBuild b/network/radvd/radvd.SlackBuild index ed67033450205..09865bc00315b 100644 --- a/network/radvd/radvd.SlackBuild +++ b/network/radvd/radvd.SlackBuild @@ -27,12 +27,10 @@ VERSION=1.9.3 BUILD=${BUILD:-2} 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 @@ -54,11 +52,11 @@ elif [ "$ARCH" = "x86_64" ]; then else SLKCFLAGS="-O2" LIBDIRSUFFIX="" -fi +fi set -e -rm -rf $PKG +rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION @@ -91,11 +89,11 @@ mv $PKG/usr/share/man $PKG/usr/man find . -type f -exec gzip -9 {} \; ) -mkdir -p $PKG/etc/rc.d +mkdir -p $PKG/etc/rc.d install -D -m 0644 $CWD/rc.radvd.new $PKG/etc/rc.d/rc.radvd.new mv $TMP/$PRGNAM-$VERSION/radvd.conf.example $PKG/etc/radvd.conf.new -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a CHANGES COPYRIGHT INTRO.html README TODO VERSION \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |