diff options
author | simotrone <simotrone@gmail.com> | 2014-10-01 23:52:33 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-10-03 10:16:59 +0700 |
commit | 9dc0183c3a91f26b795bff7ae09b9ff11bcdfc65 (patch) | |
tree | 6695ad6162f1d6b020ff3c4a9a489b9de631fbd3 /network/skylable-sx/skylable-sx.SlackBuild | |
parent | 06613412a5a02a65ca92eef3ee7105e072af2a17 (diff) |
network/skylable-sx: Updated for version 0.9.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/skylable-sx/skylable-sx.SlackBuild')
-rw-r--r-- | network/skylable-sx/skylable-sx.SlackBuild | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/network/skylable-sx/skylable-sx.SlackBuild b/network/skylable-sx/skylable-sx.SlackBuild index 93472bb92e82..4e3a5865cc02 100644 --- a/network/skylable-sx/skylable-sx.SlackBuild +++ b/network/skylable-sx/skylable-sx.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=skylable-sx -VERSION=${VERSION:-0.4} +VERSION=${VERSION:-0.9} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -69,14 +69,14 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -# ONLY_CLIENT="--disable-server" +# CLIENT_ONLY="--disable-server" CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ - $ONLY_CLIENT \ + $CLIENT_ONLY \ --sysconfdir=/etc \ --localstatedir=/var \ --mandir=/usr/man \ @@ -88,8 +88,10 @@ make install DESTDIR=$PKG 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 +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 -cat $CWD/rc.sxserver > $PKG/usr/doc/$PRGNAM-$VERSION/rc.sxserver cp -ar COPYING NEWS README doc/quickstart $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |