Magellan Linux

Annotation of /trunk/extras/nmap-gui/nmap-gui-4.68-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2 - (hide annotations) (download)
Fri Oct 10 13:29:42 2008 UTC (15 years, 8 months ago) by niro
File size: 932 byte(s)
import repo
1 niro 2 # $Header: /magellan-cvs/smage/nmap-gui/nmap-gui-4.68-r1.smage2,v 1.2 2008/08/17 15:30:27 niro Exp $
2    
3     PNAME="nmap-gui"
4     PVER="4.68"
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.12
15     >= dev-lang/python-2.5
16     >= dev-python/pygtk-2.12
17     >= dev-db/sqlite-3.5
18     >= dev-python/pysqlite-2.4"
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     src_compile()
31     {
32     cd ${SRCDIR}
33    
34     # we build only zenmap here
35     mconfigure --with-zenmap --with-openssl || die
36     mmake build-zenmap|| die
37     }
38    
39     src_install()
40     {
41     cd ${SRCDIR}
42    
43     mmake DESTDIR=${BINDIR} nmapdatadir=/usr/share/nmap install-zenmap || die
44     minstalldocs zenmap/{COPYING*,README} || die
45     }

Properties

Name Value
svn:keywords Id