summaryrefslogtreecommitdiff
blob: 17f42f996b0b194ee21437bf542e6d00b5f1cf37 (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.3 2009/05/18 17:38:09 armin76 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
}