summaryrefslogtreecommitdiff
blob: a262d6637c5a238afb0f6e43827f10b33e9a1ee1 (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
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-firewall/guarddog/guarddog-2.6.0-r1.ebuild,v 1.2 2009/05/03 17:21:57 maekke Exp $

inherit kde

DESCRIPTION="Firewall configuration utility for KDE 3"
HOMEPAGE="http://www.simonzone.com/software/guarddog/"
SRC_URI="http://www.simonzone.com/software/guarddog/${P}.tar.gz"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="amd64 ~ppc ~sparc x86"
IUSE=""

RDEPEND=">=net-firewall/iptables-1.2.5
	sys-apps/gawk"
need-kde 3.5

pkg_preinst() {
	echo "Encoding=UTF-8" >> ${D}/usr/share/applnk/System/guarddog.desktop
	kde_pkg_preinst
}

src_install() {
	kde_src_install
	newinitd "${FILESDIR}"/guarddog.init guarddog || die
}