diff options
author | Menno Duursma <druiloor@zonnet.nl> | 2010-07-15 19:49:04 -0500 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2010-07-15 20:12:36 -0500 |
commit | 09643b0e63fb5202634d9c0478c7c0fb3ae66856 (patch) | |
tree | ba5326680ead6f1a31bd2df0af2f642d9bf17fb5 /libraries/libcap-ng/libcap-ng.SlackBuild | |
parent | 260509cfecb4395783c2f144759649d31b753831 (diff) | |
download | slackbuilds-09643b0e63fb5202634d9c0478c7c0fb3ae66856.tar.gz |
libraries/libcap-ng: Updated for version 0.6.4.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'libraries/libcap-ng/libcap-ng.SlackBuild')
-rw-r--r-- | libraries/libcap-ng/libcap-ng.SlackBuild | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/libraries/libcap-ng/libcap-ng.SlackBuild b/libraries/libcap-ng/libcap-ng.SlackBuild index abaf5e655b..15bfb939d3 100644 --- a/libraries/libcap-ng/libcap-ng.SlackBuild +++ b/libraries/libcap-ng/libcap-ng.SlackBuild @@ -8,16 +8,14 @@ # http://sam.zoy.org/wtfpl/COPYING for more details. PRGNAM=libcap-ng -VERSION=${VERSION:-0.6.2} +VERSION=${VERSION:-0.6.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -80,11 +78,8 @@ rm -vf $PKG//usr/lib${LIBDIRSUFFIX}/libcap-ng.a rm -vf $PKG//usr/lib${LIBDIRSUFFIX}/python?.?/site-packages/_capng.a rm -vf $PKG//usr/lib${LIBDIRSUFFIX}/python?.?/site-packages/_capng.la - -( cd $PKG/usr/man - find . -type f -exec gzip -9 {} \; - for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done -) +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.LIB INSTALL README COPYING ChangeLog NEWS \ @@ -95,5 +90,4 @@ mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz - +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} |