# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils DESCRIPTION="PacketBL is a program that uses DNS blocklists to determine whether to accept or reject packets. Uses iptables and libipq." HOMEPAGE="http://wiki.duskglow.com/tiki-index.php?page=Packetbl" SRC_URI="http://software.duskglow.com/downloads/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND="net-firewall/iptables virtual/libc dev-libs/dotconf firedns? (net-libs/firedns)" KEYWORDS="~x86 ~amd64" src_compile() { cd ${S} myconf="--with-cache --with-stats" if use firedns ; then myconf="${myconf} --with-firedns" fi econf $myconf || die "configure failed!" MAKEOPTS="CONFIGFILE=/etc/packetbl.conf" emake || die "make failed!" } src_install() { einstall || die "make install failed!" dodoc INSTALL Changelog LICENSE README AUTHORS }