mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-04 20:29:09 +01:00
network/arp-scan: Updated for version 1.7
This commit is contained in:
parent
64c392ac4c
commit
516db23a7e
3 changed files with 14 additions and 9 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
# Slackware build script for arp-scan
|
||||
|
||||
# Copyright 2006-2008 Robby Workman, Northport, Alabama, USA
|
||||
# Copyright 2006-2009 Robby Workman, Northport, Alabama, USA
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
|
@ -35,10 +35,13 @@ OUTPUT=${OUTPUT:-/tmp}
|
|||
|
||||
if [ "$ARCH" = "i486" ]; then
|
||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||
LIBDIRSUFFIX=""
|
||||
elif [ "$ARCH" = "i686" ]; then
|
||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||
LIBDIRSUFFIX=""
|
||||
elif [ "$ARCH" = "x86_64" ]; then
|
||||
SLKCFLAGS="-O2 -fPIC"
|
||||
LIBDIRSUFFIX="64"
|
||||
fi
|
||||
|
||||
set -e
|
||||
|
@ -59,6 +62,7 @@ find . \
|
|||
CFLAGS="$SLKCFLAGS" \
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
||||
--mandir=/usr/man \
|
||||
--disable-static \
|
||||
--build=$ARCH-slackware-linux
|
||||
|
@ -83,4 +87,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}
|
||||
|
|
|
@ -2,8 +2,9 @@ PRGNAM="arp-scan"
|
|||
VERSION="1.7"
|
||||
HOMEPAGE="http://www.nta-monitor.com/tools/arp-scan/"
|
||||
DOWNLOAD="http://www.nta-monitor.com/tools/arp-scan/download/arp-scan-1.7.tar.gz"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM="a9927dba2b1dbdfd1c3b3bb09615fc14"
|
||||
MD5SUM_x86_64=""
|
||||
MAINTAINER="Robby Workman"
|
||||
EMAIL="rw@rlworkman.net"
|
||||
APPROVED="Michiel"
|
||||
|
||||
|
|
Loading…
Reference in a new issue