diff options
author | Chris Larson <clarson@kergoth.com> | 2004-03-13 05:42:36 +0000 |
---|---|---|
committer | Chris Larson <clarson@kergoth.com> | 2004-03-13 05:42:36 +0000 |
commit | 06f7d17e81de21a95e35b03453242bc62b05a6aa (patch) | |
tree | bc9c53bce2c6a2fdce3caf5bb45bc3f8634b56be /nmap/nmap_3.50.oe | |
parent | 4b022a36ced4930af6bcdeb7d75a5ed10c4ac9cd (diff) |
First pass of .oe cleanups.
BKrev: 40529f4crFtRY5_1DubNmWhDeHSmPw
Diffstat (limited to 'nmap/nmap_3.50.oe')
-rw-r--r-- | nmap/nmap_3.50.oe | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/nmap/nmap_3.50.oe b/nmap/nmap_3.50.oe index e69de29bb2..8e5b5c3574 100644 --- a/nmap/nmap_3.50.oe +++ b/nmap/nmap_3.50.oe @@ -0,0 +1,45 @@ +DEPENDS = "virtual/libc libpcap" +RDEPENDS = "libc6 libpcap" +DESCRIPTION = "Nmap is a command line portscanner." + +SRC_URI = http://download.insecure.org/nmap/dist/nmap-${PV}.tgz + +inherit autotools + +EXTRA_OECONF = --with-pcap=linux --with-libpcap=${STAGING_DIR} --without-nmapfe +EXTRA_OEMAKE = "STRIPPROG=arm-linux-strip" + +CXXFLAGS_append = " -fpermissive" +# Ugly hack follows -- their configure.ac doesnt match their configure .. +# doesnt include a check for the length type in recvfrom, so we hack it here +CPPFLAGS_append = " -Drecvfrom6_t=socklen_t" + +#do_configure_prepend () { +# if [ ! -e libpcap-possiblymodified/acinclude.m4 ]; then +# cat libpcap-possiblymodified/aclocal.m4 > libpcap-possiblymodified/acinclude.m4 +# fi +#} + +do_compile_prepend () { + ${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS} libpcre/dftables.c -o libpcre/dftables + touch libpcre/dftables.o + libpcre/dftables > libpcre/chartables.c +} + +do_configure () { +# override this function to avoid the autoconf/automake/aclocal/autoheader +# calls for now + oe_runconf +} + + +do_install () { + oe_runmake 'prefix=${D}/${prefix}' \ + 'exec_prefix=${D}/${exec_prefix}' \ + 'bindir=${D}/${bindir}' \ + 'sbindir=${D}/${sbindir}' \ + 'mandir=${D}/${mandir}' \ + 'datadir=${D}/${datadir}' \ + 'nmapdatadir=${D}/${datadir}/nmap' \ + install +} |