blob: 706f08533b1a79144bc49d909fe56ccc45f41535 (
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
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="2"
inherit autotools
MY_PN="Vuurmuur"
MY_PV=${PV/_beta/beta}
MY_P="${MY_PN}-${MY_PV}"
DESCRIPTION="Libraries and plugins needed by Vuurmuur"
HOMEPAGE="http://www.vuurmuur.org"
SRC_URI="ftp://ftp.vuurmuur.org/releases/${MY_PV}/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""
RDEPEND="net-firewall/iptables"
S="${WORKDIR}/${MY_P}/${PN}-${MY_PV}"
src_unpack() {
unpack ${A}
cd "${MY_P}"
unpack "./libvuurmuur-${MY_PV}.tar.gz"
}
src_prepare() {
epatch "${FILESDIR}"/libvuurmuur-plugin-0.7.patch # no longer needed as of >0.8_beta2
eautoreconf
}
src_configure() {
econf \
--with-plugindir=/usr/lib \
--with-shareddir=/usr/share
}
src_install() {
emake DESTDIR="${D}" install || die "installing libvuurmuur failed"
# files needed but not yet installed by make
dodir /etc/vuurmuur/textdir || die "installing textdir failed"
insinto /etc/vuurmuur/plugins
doins plugins/textdir/textdir.conf || die "installing textdir.conf failed"
}
|