blob: b1262416c4623c33ea007a459468f3c1298ce91a (
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
41
42
43
44
45
46
47
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-firewall/fwbuilder/fwbuilder-5.0.1.3592.ebuild,v 1.4 2012/01/30 22:52:13 ssuominen Exp $
EAPI="4"
inherit eutils base qt4-r2 multilib autotools
DESCRIPTION="A firewall GUI"
HOMEPAGE="http://www.fwbuilder.org/"
SRC_URI="mirror://sourceforge/fwbuilder/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
IUSE=""
DEPEND=">=x11-libs/qt-gui-4.3
dev-libs/openssl
dev-libs/elfutils"
RDEPEND="${DEPEND}"
PATCHES=(
"${FILESDIR}/${PN}-5.0.0.3568-ldflags.patch"
)
src_prepare() {
qt4-r2_src_prepare
sed -i -e '/dnl.*AM_INIT_AUTOMAKE/d' configure.in || die #398743
eautoreconf
}
src_configure() {
eqmake4
# portage handles ccache/distcc itself
econf --without-{ccache,distcc}
}
src_install() {
emake INSTALL_ROOT="${D}" install
}
pkg_postinst() {
validate_desktop_entries
elog "You need to emerge sys-apps/iproute2 on the machine"
elog "that will run the firewall script."
}
|