diff options
author | Jeroen Roovers <jer@gentoo.org> | 2012-12-01 17:30:48 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2012-12-01 17:30:48 +0000 |
commit | 36c7127e679fbd7494555e1f6ee442e09ad69ad5 (patch) | |
tree | 08c9a95a6b8e29af10e0404cbbc6f1193f94a617 /net-analyzer/nmap/nmap-6.01.ebuild | |
parent | alpha/ia64/s390/sh/sparc stable wrt #433814 (diff) | |
download | gentoo-2-36c7127e679fbd7494555e1f6ee442e09ad69ad5.tar.gz gentoo-2-36c7127e679fbd7494555e1f6ee442e09ad69ad5.tar.bz2 gentoo-2-36c7127e679fbd7494555e1f6ee442e09ad69ad5.zip |
Remove binary from FILESDIR, step 1, by Matt Turner (bug #370907). Put -j1 on the emake line.
(Portage version: 2.2.0_alpha143/cvs/Linux x86_64, signed Manifest commit with key A792A613)
Diffstat (limited to 'net-analyzer/nmap/nmap-6.01.ebuild')
-rw-r--r-- | net-analyzer/nmap/nmap-6.01.ebuild | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/net-analyzer/nmap/nmap-6.01.ebuild b/net-analyzer/nmap/nmap-6.01.ebuild index a40432f4abd6..11a3c986e096 100644 --- a/net-analyzer/nmap/nmap-6.01.ebuild +++ b/net-analyzer/nmap/nmap-6.01.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nmap/nmap-6.01.ebuild,v 1.5 2012/12/01 17:15:54 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nmap/nmap-6.01.ebuild,v 1.6 2012/12/01 17:30:48 jer Exp $ EAPI="4" PYTHON_DEPEND="2" @@ -11,7 +11,10 @@ MY_P=${P/_beta/BETA} DESCRIPTION="A utility for network exploration or security auditing" HOMEPAGE="http://nmap.org/" -SRC_URI="http://nmap.org/dist/${MY_P}.tar.bz2" +SRC_URI=" + http://nmap.org/dist/${MY_P}.tar.bz2 + http://dev.gentoo.org/~jer/nmap-logo-64.png +" LICENSE="GPL-2" SLOT="0" @@ -48,6 +51,10 @@ pkg_setup() { python_set_active_version 2 } +src_unpack() { + unpack ${MY_P}.tar.bz2 +} + src_prepare() { epatch "${FILESDIR}"/${PN}-4.75-include.patch epatch "${FILESDIR}"/${PN}-4.75-nolua.patch @@ -82,16 +89,14 @@ src_configure() { } src_install() { - LC_ALL=C emake \ - -j1 \ + LC_ALL=C emake -j1 \ DESTDIR="${D}" \ STRIP=: \ nmapdatadir="${EPREFIX}"/usr/share/nmap \ install if use nmap-update;then - LC_ALL=C emake \ + LC_ALL=C emake -j1 \ -C nmap-update \ - -j1 \ DESTDIR="${D}" \ STRIP=: \ nmapdatadir="${EPREFIX}"/usr/share/nmap \ @@ -100,5 +105,5 @@ src_install() { dodoc CHANGELOG HACKING docs/README docs/*.txt - use gtk && doicon "${FILESDIR}/nmap-logo-64.png" + use gtk && doicon "${DISTDIR}/nmap-logo-64.png" } |