milis/talimatname/genel/nmap/talimat

28 lines
684 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Description: Ağ tarama ve güvenlik denetimi programı
# URL: http://insecure.org/nmap/
# Packager: milisarge@gmail.com
# Depends on: pcre libpcap lua liblinear python
name=nmap
version=7.60
release=1
source=(http://nmap.org/dist/$name-$version.tar.bz2)
build() {
cd $name-$version
export PYTHON=python2
./configure --prefix=/usr \
--mandir=/usr/share/man \
--localedir=/usr/share/locale \
--docdir=/usr/share/doc/$name-$version \
--with-liblua=included \
--infodir=/usr/share/info
make || make -j1
make DESTDIR=$PKG install
#zenmap için
python2 -m compileall "${PKG}"/usr/lib/python2.7/site-packages/zenmapCore
rm "${PKG}"/usr/bin/uninstall_*
rm -rf $PKG/usr/share/info/dir
}