summaryrefslogtreecommitdiff
blob: 647d976e82f916fbb5c2ccef37933f435d273fae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-firewall/firestarter/firestarter-0.9.2.ebuild,v 1.4 2004/03/20 07:34:37 mr_bones_ Exp $

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_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
}