44 lines
1003 B
Bash
44 lines
1003 B
Bash
# Copyright 1999-2013 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/net-firewall/fwbuilder/fwbuilder-5.1.0.3599.ebuild,v 1.4 2013/03/02 22:49:59 hwoarang Exp $
|
|
|
|
EAPI="4"
|
|
|
|
inherit eutils base qt4-r2 multilib autotools git-r3
|
|
|
|
DESCRIPTION="A firewall GUI"
|
|
HOMEPAGE="http://www.fwbuilder.org/"
|
|
EGIT_REPO_URI="https://github.com/UNINETT/fwbuilder.git"
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
|
IUSE=""
|
|
|
|
DEPEND=">=dev-qt/qtgui-4.3:4
|
|
dev-libs/openssl
|
|
dev-libs/elfutils"
|
|
RDEPEND="${DEPEND}"
|
|
|
|
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."
|
|
}
|