# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit gnome2 eutils IUSE="nls" DESCRIPTION="GUI for iptables firewall setup and monitor." SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" HOMEPAGE="http://firestarter.sf.net" LICENSE="GPL-2" RDEPEND=">=x11-libs/gtk+-2 >=gnome-base/libgnomeui-2 >=gnome-base/libgnome-2 net-firewall/iptables" DEPEND="${RDEPEND} nls? ( sys-devel/gettext ) dev-util/pkgconfig >=dev-util/intltool-0.21" SLOT="0" KEYWORDS="x86 ~ppc ~sparc alpha" src_unpack() { unpack ${A} cd ${S} # make firestarter not choke on 2.6 kernels (#32903) # patch from http://firestarter.sf.net/beta/firestarter-kernel-2.6.patch # epatch ${FILESDIR}/${P}-kernel_2.6_fix.patch } src_compile() { econf "`use_enable nls`" || die "econf failed" emake || die "emake failed" } src_install() { einstall destdir=${D} graphicsdir=${D}/usr/share/pixmaps || \ die "einstall failed" dodoc AUTHORS ChangeLog COPYING CREDITS INSTALL README TODO } pkg_postinstall() { ./postinstall }