blob: eb337706bc9d5fa00556a9bbb3e1b2d6201ebeba (
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
|
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-libs/libfwbuilder/libfwbuilder-2.0.0.ebuild,v 1.1 2004/08/02 16:54:10 aliz Exp $
DESCRIPTION="Firewall Builder 2.0 API library and compiler framework"
HOMEPAGE="http://www.fwbuilder.org/"
SRC_URI="mirror://sourceforge/fwbuilder/${P}.tar.gz"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~x86 ~amd64"
IUSE="snmp ssl"
RDEPEND=">=dev-libs/libxml2-2.4.10
>=dev-libs/libxslt-1.0.7
snmp? ( virtual/snmp )
ssl? ( dev-libs/openssl )
x11-libs/qt"
DEPEND=${RDEPEND}
src_compile() {
local myconf
if has_version net-libs/ucd-snmp; then
myconf="use_with snmp ucdsnmp"
fi
econf `use_with ssl openssl` ${myconf} || die "./configure failed"
emake || die "emake failed"
}
src_install() {
make DDIR=${D} install || die "emake install failed"
prepalldocs
}
|