diff options
Diffstat (limited to 'network/radvd/radvd.SlackBuild')
-rw-r--r-- | network/radvd/radvd.SlackBuild | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/network/radvd/radvd.SlackBuild b/network/radvd/radvd.SlackBuild index 0a70d3c9a8..7699ef3eb6 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 |