#!/bin/bash # nmap # # Douglas Thrift # # $Id$ name=nmap version=4.20 revision=0 categories=(base security) description='Utility for network exploration or security auditing' url='http://insecure.org/nmap/' depends=('base/gettext' 'base/openssl' 'base/pcre') sources=(`site_nmap` nmap.patch) with=(gtk) [[ -n $with_gtk ]] && depends=(${depends[*]} 'x11-toolkits/gtk') function build() { gnu_patch nmap.patch || return $? gnu_configure --prefix=/usr --mandir=/usr/share/man --with-libpcap=included `[[ -z $with_gtk ]] && echo --without-nmapfe` }