diff options
author | dsomero <xgizzmo@slackbuilds.org> | 2013-11-22 02:34:22 -0500 |
---|---|---|
committer | dsomero <xgizzmo@slackbuilds.org> | 2013-11-22 02:34:22 -0500 |
commit | 687c78d5604ce299d5164ffd69de88f2dd10fefc (patch) | |
tree | 2c3b4dd9491198917e0178dd5a0cf0fa3e6715c8 /network/radvd/radvd.SlackBuild | |
parent | 610e8461bb9b201adbd4bd9257a9bf48be71f62b (diff) |
various: Fix SlackBuild formatting and comment nit picks.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
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 ed6703345020..09865bc00315 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 |