Magellan Linux

Contents of /trunk/extras/nmap-gui/nmap-gui-4.76-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2841 - (show annotations) (download)
Sat Jul 11 12:27:55 2009 UTC (14 years, 9 months ago) by niro
File size: 1004 byte(s)
auto added: ver bump to 4.76-r1
1 # $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 }

Properties

Name Value
svn:keywords Id