From 1e301e41ee5c82fda47438d878b48c3af4691985 Mon Sep 17 00:00:00 2001 From: Mario Preksavec Date: Sun, 15 Mar 2015 09:36:46 +0100 Subject: network/smcroute: Updated for version 2.0.0. --- network/smcroute/smcroute.SlackBuild | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'network/smcroute/smcroute.SlackBuild') diff --git a/network/smcroute/smcroute.SlackBuild b/network/smcroute/smcroute.SlackBuild index 440c6a1be2a07..12a72b69c7b70 100644 --- a/network/smcroute/smcroute.SlackBuild +++ b/network/smcroute/smcroute.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for SMCRoute -# Copyright 2013 Mario Preksavec, Zagreb, HR +# Copyright 2013, 2015 Mario Preksavec, Zagreb, Croatia # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=smcroute -VERSION=${VERSION:-1.99.2} +VERSION=${VERSION:-2.0.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -60,7 +60,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 +tar xvf $CWD/$PRGNAM-$VERSION.tar.xz cd $PRGNAM-$VERSION chown -R root:root . find -L . \ @@ -83,6 +83,9 @@ CXXFLAGS="$SLKCFLAGS" \ make make install DESTDIR=$PKG +# Binaries should go to sbin +mv $PKG/usr/bin $PKG/usr/sbin + find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true @@ -90,9 +93,7 @@ find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - AUTHORS COPYING ChangeLog README TODO \ - $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS COPYING ChangeLog README TODO $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install -- cgit v1.2.3