blob: 8cc4b12d531a09da27860dd8d471f1298e770411 (
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
48
49
50
51
52
|
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-firewall/fwbuilder/fwbuilder-4.2.2.3541.ebuild,v 1.2 2011/05/29 17:06:15 dilfridge 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 ~x86 ~ppc ~ppc64"
IUSE=""
DEPEND=">=x11-libs/qt-gui-4.3
dev-libs/openssl
dev-libs/elfutils
sys-devel/gnuconfig
!net-libs/libfwbuilder"
RDEPEND="${DEPEND}"
PATCHES=(
"${FILESDIR}/${P}-ldflags.patch"
"${FILESDIR}/${P}-ccache.patch"
)
src_prepare() {
qt4-r2_src_prepare
eautoreconf
# This package fundamentally changed its build system. We have to
# manually copy config.{sub,guess} from /usr/share/gnuconfig/.
cp /usr/share/gnuconfig/config.{sub,guess} "${WORKDIR}/${P}/" \
|| die "failed to copy config.{sub,guess}"
}
src_configure() {
econf --with-ccache=no --with-distcc=no
}
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."
}
|