diff options
author | Chuck Short <zul@gentoo.org> | 2003-10-18 16:59:17 +0000 |
---|---|---|
committer | Chuck Short <zul@gentoo.org> | 2003-10-18 16:59:17 +0000 |
commit | d177342e7fe83ecb537d61218d7c474c5cab012e (patch) | |
tree | 044085608def47bc4ae1691b2f388ed07e9c73f3 /net-analyzer/darkstat/darkstat-2.5.ebuild | |
parent | Initial version, closes #29548. (diff) | |
download | gentoo-2-d177342e7fe83ecb537d61218d7c474c5cab012e.tar.gz gentoo-2-d177342e7fe83ecb537d61218d7c474c5cab012e.tar.bz2 gentoo-2-d177342e7fe83ecb537d61218d7c474c5cab012e.zip |
Initial version, closes #29548.
Diffstat (limited to 'net-analyzer/darkstat/darkstat-2.5.ebuild')
-rw-r--r-- | net-analyzer/darkstat/darkstat-2.5.ebuild | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/net-analyzer/darkstat/darkstat-2.5.ebuild b/net-analyzer/darkstat/darkstat-2.5.ebuild new file mode 100644 index 000000000000..2b68ce4c08e5 --- /dev/null +++ b/net-analyzer/darkstat/darkstat-2.5.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/darkstat/darkstat-2.5.ebuild,v 1.1 2003/10/18 16:59:12 zul Exp $ + +DESCRIPTION="darkstat is a network traffic analyzer" +HOMEPAGE="http://members.optushome.com.au/emikulic/net/darkstat/" +SRC_URI="http://members.optushome.com.au/emikulic/net/darkstat/${P}.tar.gz" + +KEYWORDS="~x86" +IUSE="" +LICENSE="GPL-2" +SLOT="0" + +DEPEND=">=net-libs/libpcap-0.7.1" +RDEPEND="" + +S="${WORKDIR}/${P}" + +src_compile() { + ./configure \ + --host=${CHOST} \ + --prefix=/usr \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man || die "./configure failed" + emake || die +} +src_install() { + make DESTDIR=${D} install || die + dodir /var/spool/darkstat + + dodoc ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL ISSUES NEWS README TODO + + exeinto /etc/init.d ; newexe ${FILESDIR}/darkstat-init darkstat + insinto /etc/conf.d ; newins ${FILESDIR}/darkstat-confd darkstat +} + |