diff options
author | Jeroen Roovers <jer@gentoo.org> | 2010-09-17 03:23:44 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2010-09-17 03:23:44 +0000 |
commit | 09cd5afdb8ce863df85ebb872faec4b0292b288c (patch) | |
tree | be2b77d9e857f200e717881b810ca334998c5ca1 /net-wireless/airtraf/airtraf-1.0.ebuild | |
parent | Respect LDFLAGS (bug #337624). (diff) | |
download | historical-09cd5afdb8ce863df85ebb872faec4b0292b288c.tar.gz historical-09cd5afdb8ce863df85ebb872faec4b0292b288c.tar.bz2 historical-09cd5afdb8ce863df85ebb872faec4b0292b288c.zip |
Clean up patch. Clean up old. Replace sed scripts with make variables, respect LDFLAGS (bug #337678), CXX, too.
Package-Manager: portage-2.2_rc82/cvs/Linux i686
Diffstat (limited to 'net-wireless/airtraf/airtraf-1.0.ebuild')
-rw-r--r-- | net-wireless/airtraf/airtraf-1.0.ebuild | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/net-wireless/airtraf/airtraf-1.0.ebuild b/net-wireless/airtraf/airtraf-1.0.ebuild deleted file mode 100644 index be5bf49c83dd..000000000000 --- a/net-wireless/airtraf/airtraf-1.0.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/airtraf/airtraf-1.0.ebuild,v 1.13 2006/02/20 22:25:16 jokey Exp $ - -inherit eutils toolchain-funcs - -DESCRIPTION="AirTraf 802.11b Wireless traffic sniffer" -HOMEPAGE="http://www.elixar.com/" -SRC_URI="http://www.elixar.com/${P}.tar.gz" - -IUSE="" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="x86 ppc ~amd64" - -DEPEND="net-libs/libpcap" - -src_unpack() { - unpack ${A} - cd ${S} - if use amd64 ; then - epatch ${FILESDIR}/${PN}-amd64.patch - fi -} - -src_compile() { - cd ${S}/src - - # Do some sedding to make compile flags work - - mv Makefile.rules ${T} - sed -e "s:gcc:$(tc-getCC):" \ - -e "s:CFLAGS = -Wall -O2:CFLAGS = ${CFLAGS} -Wall:" \ - -e "s:c++:$(tc-getCXX):" \ - -e "s:CXXFLAGS = -Wall -O2:CXXFLAGS = ${CXXFLAGS} -Wall:" \ - ${T}/Makefile.rules > Makefile.rules - make || die -} - -src_install () { - newdoc ${S}/docs/airtraf_doc.html airtraf_documentation.html - - dobin ${S}/src/airtraf || die -} |