# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-firewall/fwbuilder/fwbuilder-2.0.2.ebuild,v 1.2 2004/10/05 13:59:24 aliz Exp $ DESCRIPTION="A firewall GUI" HOMEPAGE="http://www.fwbuilder.org/" SRC_URI="mirror://sourceforge/fwbuilder/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86 ~amd64 ~sparc ~ppc" IUSE="nls" DEPEND="~net-libs/libfwbuilder-${PV} nls? ( >=sys-devel/gettext-0.11.4 ) >=dev-libs/libxslt-1.0.7" src_compile() { export QMAKESPEC="linux-g++" econf `use_enable nls` || die addwrite "${QTDIR}/etc/settings" emake || die "emake failed" } src_install() { emake DDIR=${D} install || die } pkg_postinst() { echo "" einfo "You need to emerge iproute2 on the machine that" einfo "will run the firewall script." echo "" }