diff options
author | Jeroen Roovers <jer@gentoo.org> | 2012-04-16 23:21:48 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2012-04-16 23:21:48 +0000 |
commit | 3bcf29d292e827abdd071df50a9d686cc1f22377 (patch) | |
tree | d5bf1606a4ea84cdbca8e917bbe87b59d72c6848 /net-analyzer/pmacct/pmacct-0.12.2.ebuild | |
parent | Old. (diff) | |
download | gentoo-2-3bcf29d292e827abdd071df50a9d686cc1f22377.tar.gz gentoo-2-3bcf29d292e827abdd071df50a9d686cc1f22377.tar.bz2 gentoo-2-3bcf29d292e827abdd071df50a9d686cc1f22377.zip |
Old.
(Portage version: 2.2.0_alpha100/cvs/Linux x86_64)
Diffstat (limited to 'net-analyzer/pmacct/pmacct-0.12.2.ebuild')
-rw-r--r-- | net-analyzer/pmacct/pmacct-0.12.2.ebuild | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/net-analyzer/pmacct/pmacct-0.12.2.ebuild b/net-analyzer/pmacct/pmacct-0.12.2.ebuild deleted file mode 100644 index 10154aee2977..000000000000 --- a/net-analyzer/pmacct/pmacct-0.12.2.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/pmacct/pmacct-0.12.2.ebuild,v 1.5 2010/10/16 14:01:10 ranger Exp $ - -EAPI="2" - -inherit eutils toolchain-funcs - -DESCRIPTION="A network tool to gather IP traffic information" -HOMEPAGE="http://www.pmacct.net/" -SRC_URI="http://www.pmacct.net/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ppc x86" -IUSE="64bit debug ipv6 mysql postgres sqlite threads ulog" - -RDEPEND="net-libs/libpcap - mysql? ( virtual/mysql ) - postgres? ( dev-db/postgresql-base ) - sqlite? ( =dev-db/sqlite-3* )" -DEPEND="${RDEPEND}" - -src_prepare() { - epatch "${FILESDIR}"/${PN}-0.12.0-gentoo.patch -} - -src_configure() { - tc-export CC - econf \ - $(use_enable 64bit) \ - $(use_enable debug) \ - $(use_enable ipv6) \ - $(use_enable mysql) \ - $(use_enable postgres pgsql) \ - $(use_enable sqlite sqlite3) \ - $(use_enable threads) \ - $(use_enable ulog) \ - || die "econf failed" -} - -src_install() { - emake DESTDIR="${D}" install || die "make install failed" - dodoc ChangeLog CONFIG-KEYS EXAMPLES FAQS KNOWN-BUGS README UPGRADE \ - docs/SIGNALS docs/PLUGINS docs/INTERNALS TODO TOOLS \ - || die "dodoc failed" - - for dirname in examples sql; do - docinto ${dirname} - dodoc ${dirname}/* || die "dodoc ${dirname} failed" - done - - newinitd "${FILESDIR}"/pmacctd-init.d pmacctd || die "newinitd failed" - newconfd "${FILESDIR}"/pmacctd-conf.d pmacctd || die "newconfd failed" - - insinto /etc - newins "${S}/examples/pmacctd-imt.conf.example" pmacctd.conf || \ - die "newins failed" -} |