diff options
author | alkos333 <me@alkos333.net> | 2010-05-12 17:44:26 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-12 17:44:26 +0200 |
commit | 8daedcf4b408cb13185fda2e5e02995ee1df11a2 (patch) | |
tree | 512a3ec492d18ff4a07310e5a4536ec1e360f1c1 /network/vpnc/vpnc.SlackBuild | |
parent | b83a67ebf626bbe4bf6f9558db2ce44881e340ce (diff) |
network/vpnc: Updated for version 0.5.3
Diffstat (limited to 'network/vpnc/vpnc.SlackBuild')
-rw-r--r-- | network/vpnc/vpnc.SlackBuild | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/network/vpnc/vpnc.SlackBuild b/network/vpnc/vpnc.SlackBuild index 645d6a51e0216..342cd09fe03d8 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 |