nmap: get rid of localized manpages.

This commit is contained in:
Juan RP 2014-09-22 15:17:38 +02:00
parent bc7570e3a6
commit 5ad4dac24b

View File

@ -1,10 +1,10 @@
# Template file for 'nmap'
pkgname=nmap
version=6.47
revision=1
revision=2
build_style=gnu-configure
configure_args="--without-ndiff --with-openssl"
makedepends="libpcap-devel pcre-devel>=8.30 libressl-devel"
configure_args="--without-ndiff --with-openssl $(vopt_with lua liblua)"
makedepends="libpcap-devel pcre-devel>=8.30 libressl-devel $(vopt_if lua lua-devel)"
short_desc="Utility for network discovery and security auditing"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
@ -16,13 +16,6 @@ checksum=8fa11e9e203ce2d81a207db5ca4f110a525f6c01c1dd0018325a7112a51aa591
build_options="lua"
build_options_default="lua"
if [ "$build_option_lua" ]; then
configure_args+=" --with-liblua"
makedepends+=" lua-devel"
else
configure_args+=" --without-liblua"
fi
if [ -z "$CROSS_BUILD" ]; then
subpackages="nmapfe"
makedepends+=" pygtk-devel"
@ -32,6 +25,11 @@ else
configure_args+=" --without-zenmap"
fi
post_install() {
# Get rid of localized manpages.
find ${DESTDIR}/usr/share/man -maxdepth 1 -type d -name '[^man]*' -exec rm -rf {} +
}
nmapfe_package() {
noarch=yes
depends="nmap>=$version desktop-file-utils pygtk"