diff options
author | Marcelo Góes <vanquirius@gentoo.org> | 2006-08-08 00:48:50 +0000 |
---|---|---|
committer | Marcelo Góes <vanquirius@gentoo.org> | 2006-08-08 00:48:50 +0000 |
commit | 24a56393763f596e07d629fd34ded90663b69549 (patch) | |
tree | d7d8aa0e5d951ad663449f362e9ecea22b9416de /net-analyzer/darkstat/darkstat-3.0.540.ebuild | |
parent | Stable on SPARC wrt security bug #143093. (diff) | |
download | gentoo-2-24a56393763f596e07d629fd34ded90663b69549.tar.gz gentoo-2-24a56393763f596e07d629fd34ded90663b69549.tar.bz2 gentoo-2-24a56393763f596e07d629fd34ded90663b69549.zip |
3.0.540 version bump. Thanks to Emil Mikulic <emil at dmr dot ath dot cx> for letting us know via email.
(Portage version: 2.1-r1)
Diffstat (limited to 'net-analyzer/darkstat/darkstat-3.0.540.ebuild')
-rw-r--r-- | net-analyzer/darkstat/darkstat-3.0.540.ebuild | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/net-analyzer/darkstat/darkstat-3.0.540.ebuild b/net-analyzer/darkstat/darkstat-3.0.540.ebuild new file mode 100644 index 000000000000..7c523eefb266 --- /dev/null +++ b/net-analyzer/darkstat/darkstat-3.0.540.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/darkstat/darkstat-3.0.540.ebuild,v 1.1 2006/08/08 00:48:50 vanquirius Exp $ + +inherit eutils + +DESCRIPTION="darkstat is a network traffic analyzer" +HOMEPAGE="http://dmr.ath.cx/net/darkstat/" +SRC_URI="http://dmr.ath.cx/net/darkstat/${P}.tar.bz2" + +KEYWORDS="~ppc ~ppc-macos ~x86" +IUSE="nls" +LICENSE="GPL-2" +SLOT="0" + +DEPEND="net-libs/libpcap + nls? ( sys-devel/gettext )" +RDEPEND="nls? ( virtual/libintl )" + +src_compile() { + use nls && myconf="`use_with nls`" + ./configure \ + --host=${CHOST} \ + --prefix=/usr \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man \ + ${myconf} || die "./configure failed" + emake || die +} + +src_install() { + make DESTDIR="${D}" install || die + + dodir /var/spool/darkstat + + dodoc AUTHORS README THANKS + + newinitd "${FILESDIR}"/darkstat-init2 darkstat + newconfd "${FILESDIR}"/darkstat-confd2 darkstat +} + |