summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-libs/libfwbuilder/libfwbuilder-2.1.13-r1.ebuild')
-rw-r--r--net-libs/libfwbuilder/libfwbuilder-2.1.13-r1.ebuild38
1 files changed, 38 insertions, 0 deletions
diff --git a/net-libs/libfwbuilder/libfwbuilder-2.1.13-r1.ebuild b/net-libs/libfwbuilder/libfwbuilder-2.1.13-r1.ebuild
new file mode 100644
index 000000000000..b543750c4083
--- /dev/null
+++ b/net-libs/libfwbuilder/libfwbuilder-2.1.13-r1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libfwbuilder/libfwbuilder-2.1.13-r1.ebuild,v 1.1 2007/07/30 21:34:10 r3pek Exp $
+
+inherit eutils autotools
+
+DESCRIPTION="Firewall Builder 2.1 API library and compiler framework"
+HOMEPAGE="http://www.fwbuilder.org/"
+SRC_URI="mirror://sourceforge/fwbuilder/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="snmp ssl"
+
+DEPEND=">=dev-libs/libxml2-2.4.10
+ >=dev-libs/libxslt-1.0.7
+ snmp? ( net-analyzer/net-snmp )
+ ssl? ( dev-libs/openssl )
+ =x11-libs/qt-3*"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch ${FILESDIR}/${P}-gcc42.patch
+}
+
+src_compile() {
+ export QMAKE="${QTDIR}/bin/qmake"
+ econf `use_with ssl openssl` `use_with snmp ucdsnmp` --without-stlport \
+ --without-lwres || die "Configuration failed"
+ emake || die "Compilation failed"
+}
+
+src_install() {
+ emake DDIR="${D}" install || die "Install failed"
+ prepalldocs
+}