aboutsummaryrefslogtreecommitdiff
path: root/network/skylable-sx/skylable-sx.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/skylable-sx/skylable-sx.SlackBuild')
-rw-r--r--network/skylable-sx/skylable-sx.SlackBuild10
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