diff options
author | Daniel Black <dragonheart@gentoo.org> | 2004-10-28 23:49:27 +0000 |
---|---|---|
committer | Daniel Black <dragonheart@gentoo.org> | 2004-10-28 23:49:27 +0000 |
commit | 7b15ec79ba08c6b4252e5459d832c07eabf4897d (patch) | |
tree | f9fe42ce81e459e2abfa2b9b7a01cd5e45b415b6 /net-wireless/airtraf/airtraf-1.1.ebuild | |
parent | Initial commit. Ebuild by yours truly. See bug #64554 (diff) | |
download | historical-7b15ec79ba08c6b4252e5459d832c07eabf4897d.tar.gz historical-7b15ec79ba08c6b4252e5459d832c07eabf4897d.tar.bz2 historical-7b15ec79ba08c6b4252e5459d832c07eabf4897d.zip |
CC/CXX fix as per bug #69280. Version bump too
Diffstat (limited to 'net-wireless/airtraf/airtraf-1.1.ebuild')
-rw-r--r-- | net-wireless/airtraf/airtraf-1.1.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/net-wireless/airtraf/airtraf-1.1.ebuild b/net-wireless/airtraf/airtraf-1.1.ebuild new file mode 100644 index 000000000000..20758472b809 --- /dev/null +++ b/net-wireless/airtraf/airtraf-1.1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/airtraf/airtraf-1.1.ebuild,v 1.1 2004/10/28 23:49:27 dragonheart 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-0.7.1" + +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 +} |