Magellan Linux

Annotation of /branches/magellan-0_10_0/extras/nmap-gui/nmap-gui-4.76-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3000 - (hide annotations) (download)
Mon Oct 5 18:47:41 2009 UTC (14 years, 8 months ago) by niro
File size: 1184 byte(s)
created branch 'magellan-0_10_0'
1 niro 2841 # $Id$
2    
3     PNAME="nmap-gui"
4     PVER="4.76"
5     PBUILD="r1"
6    
7     PCATEGORIE="net-misc"
8     STATE="unstable"
9    
10     DESCRIPTION="The GTK2+ gui called zenmap for nmap."
11     HOMEPAGE="http://www.insecure.org/nmap/"
12    
13     DEPEND="== net-misc/nmap-${PVER}
14     >= x11-libs/gtk2+-2.16
15     >= dev-lang/python-2.6
16     >= dev-python/pygtk-2.14
17     >= dev-db/sqlite-3.6
18     >= dev-python/pysqlite-2.5"
19    
20     SRCFILE="${PNAME/-gui/}-${PVER}.tar.bz2"
21     SRCDIR="${BUILDDIR}/${PNAME/-gui/}-${PVER}"
22    
23     sminclude mbuild
24    
25     SRC_URI=(
26     http://download.insecure.org/nmap/dist/${SRCFILE}
27     mirror://${PNAME/-gui/}/${SRCFILE}
28     )
29    
30     # exclude beta and rc versions
31     UP2DATE="updatecmd 'http://download.insecure.org/nmap/dist/?C=M;O=A' | grep ${PNAME/-gui/}-[0-9] | grep -v '[RC|BETA]' | lasttarball"
32    
33     src_compile()
34     {
35     cd ${SRCDIR}
36    
37     # we build only zenmap here
38     mconfigure --with-zenmap --with-openssl || die
39     mmake build-zenmap|| die
40     }
41    
42     src_install()
43     {
44     cd ${SRCDIR}
45    
46     mmake DESTDIR=${BINDIR} nmapdatadir=/usr/share/nmap install-zenmap || die
47     minstalldocs zenmap/{COPYING*,README} || die
48 niro 2842
49     # remove uninstall script, we got a package-management to handle this ;)
50     if [[ -e ${BINDIR}/usr/bin/uninstall_zenmap ]]
51     then
52     rm ${BINDIR}/usr/bin/uninstall_zenmap || die
53     fi
54 niro 2841 }

Properties

Name Value
svn:keywords Id