summaryrefslogtreecommitdiff
path: root/network/vpnc/vpnc.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/vpnc/vpnc.SlackBuild')
-rw-r--r--network/vpnc/vpnc.SlackBuild22
1 files changed, 11 insertions, 11 deletions
diff --git a/network/vpnc/vpnc.SlackBuild b/network/vpnc/vpnc.SlackBuild
index 645d6a51e0..342cd09fe0 100644
--- a/network/vpnc/vpnc.SlackBuild
+++ b/network/vpnc/vpnc.SlackBuild
@@ -34,9 +34,9 @@
# Modified by the SlackBuilds.org Project.
PRGNAM=vpnc
-VERSION=0.5.1
+VERSION=0.5.3
ARCH=${ARCH:-i486}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
CWD=$(pwd)
@@ -64,26 +64,26 @@ chmod -R u+w,go+r-w,a-s .
# Build with openssl support -- do NOT distribute binaries of this
sed -i '/^#OPENSSL/s/^#//g' Makefile
-make CFLAGS="$SLKCFLAGS"
-make install DESTDIR=$PKG PREFIX=/usr MANDIR=/usr/man
+make CFLAGS="$SLKCFLAGS" DOCDIR=/usr/doc/$PRGNAM-$VERSION
+make install DESTDIR=$PKG PREFIX=/usr MANDIR=/usr/man DOCDIR=/usr/doc/$PRGNAM-$VERSION
( cd $PKG
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
)
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp VERSION COPYING README TODO $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 644 {} \;
+# Let's not clobber config files
+mv $PKG/etc/vpnc/default.conf $PKG/etc/vpnc/default.conf.new
+mv $PKG/etc/vpnc/vpnc-script $PKG/etc/vpnc/vpnc-script.new
( cd $PKG/usr/man
find . -type f -exec gzip -9 {} \;
)
-# Let's not clobber config files
-mv $PKG/etc/vpnc/default.conf $PKG/etc/vpnc/default.conf.new
-mv $PKG/etc/vpnc/vpnc-script $PKG/etc/vpnc/vpnc-script.new
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a VERSION README TODO $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 644 {} \;
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc