diff options
author | Marco Bonetti <sid77@slackware.it> | 2010-07-12 12:10:11 -0500 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2010-07-15 20:12:36 -0500 |
commit | 95b6ca251a2364103fb2d5b7ff55776df570e0a2 (patch) | |
tree | 849edef4f3aa20f187d9da664517892500cb5972 /network/openvas-libraries/openvas-libraries.SlackBuild | |
parent | 234b3757cd0702cf27c46e4d5a231d1833c66bda (diff) |
network/openvas-libraries: Updated for version 3.0.5.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'network/openvas-libraries/openvas-libraries.SlackBuild')
-rw-r--r-- | network/openvas-libraries/openvas-libraries.SlackBuild | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/network/openvas-libraries/openvas-libraries.SlackBuild b/network/openvas-libraries/openvas-libraries.SlackBuild index 24b5b7484b9ca..8da03e6348e87 100644 --- a/network/openvas-libraries/openvas-libraries.SlackBuild +++ b/network/openvas-libraries/openvas-libraries.SlackBuild @@ -23,16 +23,14 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=openvas-libraries -VERSION=${VERSION:-3.0.4} +VERSION=${VERSION:-3.0.5} 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 @@ -89,10 +87,8 @@ make install DESTDIR=$PKG find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -( 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 $DOCS $PKG/usr/doc/$PRGNAM-$VERSION |