# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-analyzer/iplog/iplog-2.2.3-r2.ebuild,v 1.9 2005/09/15 21:53:56 agriffis Exp $ inherit eutils DESCRIPTION="iplog is a TCP/IP traffic logger" HOMEPAGE="http://ojnk.sourceforge.net/" SRC_URI="mirror://sourceforge/ojnk/${P}.tar.gz" LICENSE="|| ( GPL-2 FDL-1.1 )" SLOT="0" KEYWORDS="alpha ppc sparc x86" IUSE="" DEPEND="virtual/libpcap" src_unpack() { unpack ${A} cd ${S} epatch ${FILESDIR}/${PV}-DLT_LINUX_SSL.patch } src_compile() { econf || die make CFLAGS="${CFLAGS} -D_REENTRANT" all || die } src_install() { make \ prefix=${D}/usr \ mandir=${D}/usr/share/man \ install || die dodoc AUTHORS COPYING.* NEWS README TODO example-iplog.conf exeinto /etc/init.d newexe ${FILESDIR}/iplog.rc6 iplog }