nmap: nmapfe subpkg is noarch, remove useless pre_configure().

This commit is contained in:
Juan RP 2012-07-04 08:58:48 +02:00
parent d55194c06b
commit 096b9bd9eb
2 changed files with 2 additions and 8 deletions

View File

@ -2,6 +2,7 @@
# #
depends="nmap>=$version desktop-file-utils pygtk" depends="nmap>=$version desktop-file-utils pygtk"
pycompile_module="radialnet zenmapCore zenmapGUI" pycompile_module="radialnet zenmapCore zenmapGUI"
noarch=yes
short_desc="${short_desc} - GTK Frontend" short_desc="${short_desc} - GTK Frontend"
long_desc="${long_desc} long_desc="${long_desc}

View File

@ -1,7 +1,7 @@
# Template file for 'nmap' # Template file for 'nmap'
pkgname=nmap pkgname=nmap
version=6.01 version=6.01
revision=1 revision=2
build_style=gnu-configure build_style=gnu-configure
makedepends="libpcap-devel openssl-devel pcre-devel lua-devel pygtk-devel" makedepends="libpcap-devel openssl-devel pcre-devel lua-devel pygtk-devel"
subpackages="nmapfe" subpackages="nmapfe"
@ -21,10 +21,3 @@ long_desc="
versions) they are running, what type of packet filters/firewalls are in use, and versions) they are running, what type of packet filters/firewalls are in use, and
dozens of other characteristics. It was designed to rapidly scan large networks, dozens of other characteristics. It was designed to rapidly scan large networks,
but works fine against single hosts." but works fine against single hosts."
pre_configure() {
echo 'TryExec=/usr/bin/pygtk-demo' >> \
zenmap/install_scripts/unix/zenmap.desktop
echo 'TryExec=/usr/bin/pygtk-demo' >> \
zenmap/install_scripts/unix/zenmap-root.desktop
}