# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit gnome2 eutils DESCRIPTION="GUI for iptables firewall setup and monitor." HOMEPAGE="http://firestarter.sf.net" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86 ~ppc ~sparc ~alpha ~ppc64 ~amd64" IUSE="nls" RDEPEND=">=x11-libs/gtk+-2 >=gnome-base/libgnomeui-2 >=gnome-base/libgnome-2 net-firewall/iptables nls? ( sys-devel/gettext )" DEPEND="${RDEPEND} dev-util/pkgconfig >=dev-util/intltool-0.21" pkg_setup() { G2CONF=$(use_enable nls) DOCS="AUTHORS ChangeLog CREDITS INSTALL README TODO" } src_unpack() { unpack ${A} } src_compile() { econf "`use_enable nls`" || die "econf failed" emake || die "emake failed" } src_install() { gnome2_src_install doinitd ${FILESDIR}/firestarter } pkg_postinst() { einfo "" einfo "Run /usr/bin/firestarter to Configure and Setup the firewall" einfo "If you want firestarter start when the sytem boots use the init script:" einfo "rc-update add firestarter boot" }