aboutsummaryrefslogtreecommitdiff
path: root/network/radvd/radvd.SlackBuild
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2014-08-24 13:45:37 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-08-30 14:21:28 +0700
commitb4a64411ee6a1218897bb37cbd283674f2f6cfd9 (patch)
treed097fbb63260c1bc9704378713af2de0e9e142a1 /network/radvd/radvd.SlackBuild
parent78710c0676e2de388b58ac7fb9e0b1f1d7479d3f (diff)
network/radvd: Updated for version 1.15.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org> Signed-off-by: Leigh Wedding <<leigh8904@gmail.com>
Diffstat (limited to 'network/radvd/radvd.SlackBuild')
-rw-r--r--network/radvd/radvd.SlackBuild15
1 files changed, 7 insertions, 8 deletions
diff --git a/network/radvd/radvd.SlackBuild b/network/radvd/radvd.SlackBuild
index 0a70d3c9a8b9..7699ef3eb694 100644
--- a/network/radvd/radvd.SlackBuild
+++ b/network/radvd/radvd.SlackBuild
@@ -23,8 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=radvd
-VERSION=1.9.3
-BUILD=${BUILD:-2}
+VERSION=1.15
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -60,7 +60,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -73,6 +73,8 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --mandir=/usr/man \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--with-configfile=/etc/radvd.conf \
--with-pidfile=/var/run/radvd/radvd.pid \
@@ -88,17 +90,14 @@ make install DESTDIR=$PKG
xargs strip --strip-debug 2> /dev/null || true
)
-mv $PKG/usr/share/man $PKG/usr/man
-( cd $PKG/usr/man
- find . -type f -exec gzip -9 {} \;
-)
+find $PKG/usr/man -type f -exec gzip -9 {} \;
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
-cp -a CHANGES COPYRIGHT INTRO.html README TODO VERSION \
+cp -a CHANGES-1 COPYRIGHT INTRO.html README TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild