1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 inherit autotools eutils multilib
10 MY_P="Vuurmuur-${MY_PV}"
12 DESCRIPTION="Libraries and plugins required by Vuurmuur"
13 HOMEPAGE="http://www.vuurmuur.org"
14 SRC_URI="ftp://ftp.vuurmuur.org/releases/${MY_PV}/${MY_P}.tar.gz"
18 KEYWORDS="~amd64 ~x86"
21 DEPEND="net-firewall/iptables"
24 S="${WORKDIR}/${MY_P}/${PN}-${MY_PV}"
29 unpack "./libvuurmuur-${MY_PV}.tar.gz"
33 epatch "${FILESDIR}"/libvuurmuur-plugin-0.7.patch # no longer needed for >0.8_beta2
38 econf --with-plugindir=/usr/$(get_libdir)
42 emake DESTDIR="${D}" install || die "installing libvuurmuur failed"
44 # files needed but not yet installed by make
45 dodir /etc/vuurmuur/textdir || die "installing textdir failed"
46 insinto /etc/vuurmuur/plugins
47 doins plugins/textdir/textdir.conf || die "installing textdir.conf failed"