# 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_install() { gnome2_src_install doinitd ${FILESDIR}/firestarter } pkg_postinst() { gnome2_pkg_postinst einfo "Run /usr/bin/firestarter to Configure and Setup the firewall" einfo "If you would like to have firestarter automatically start, add" einfo "the init script to the default runlevel:" einfo "rc-update add firestarter default" }