index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | extra/nmap/PKGBUILD | 21 |
diff --git a/extra/nmap/PKGBUILD b/extra/nmap/PKGBUILD new file mode 100644 index 00000000..168f0c39 --- /dev/null +++ b/extra/nmap/PKGBUILD @@ -0,0 +1,21 @@ +# skip zenmap on i486 - we don't have pygtk there +makedepends=(${makedepends[@]/pygtk/}) +optdepends=("${optdepends[@]/pygtk:*/}") + +makedepends_i686=(pygtk) +makedepends_pentium4=(pygtk) +optdepends_i686=('pygtk: zenmap') +optdepends_pentium4=('pygtk: zenmap') + +if [ "${CARCH}" = 'i486' ]; then + eval "$( + declare -f build | \ + sed ' + s,/configure ,\0--without-zenmap , + ' + declare -f package | \ + sed ' + /zenmap/d + ' + )" +fi |