summaryrefslogtreecommitdiff
path: root/source/n/nmap
diff options
context:
space:
mode:
Diffstat (limited to 'source/n/nmap')
-rwxr-xr-xsource/n/nmap/nmap.SlackBuild12
1 files changed, 8 insertions, 4 deletions
diff --git a/source/n/nmap/nmap.SlackBuild b/source/n/nmap/nmap.SlackBuild
index 747836cc..d228e63a 100755
--- a/source/n/nmap/nmap.SlackBuild
+++ b/source/n/nmap/nmap.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright 2008, 2009, 2010 Patrick J. Volkerding, Sebeka, MN, USA
+# Copyright 2008, 2009, 2010, 2011 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -20,7 +20,7 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-VERSION=${VERSION:-5.21}
+VERSION=${VERSION:-5.51}
BUILD=${BUILD:-1}
# Automatically determine the architecture we're building on:
@@ -75,7 +75,8 @@ find . \
CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --with-liblua=included \
--mandir=/usr/man \
--docdir=/usr/doc/nmap-$VERSION \
--build=$ARCH-slackware-linux
@@ -84,7 +85,10 @@ make $NUMJOBS || make || exit 1
make install DESTDIR=$PKG || exit 1
mkdir -p $PKG/usr/doc/nmap-$VERSION
-cp -a COPYING* HACKING INSTALL $PKG/usr/doc/nmap-$VERSION
+cp -a COPYING* HACKING INSTALL \
+ docs/licenses/ \
+ docs/*.txt \
+ $PKG/usr/doc/nmap-$VERSION
( cd docs
# It looks like all of these translations are gone from the 4.00+ tarball, and
# most of them are not available on the web site. Sorry -- I didn't do it.