summaryrefslogtreecommitdiff
blob: f94037a2a0e147a765f69a21bab5cddd7fcdc5e0 (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
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/prewikka/prewikka-0.9.0_rc8.ebuild,v 1.1 2005/07/19 10:08:27 dragonheart Exp $

inherit versionator distutils

MY_P="${PN}-$(replace_version_separator 3 '-')"
DESCRIPTION="Prelude-IDS Frontend"
HOMEPAGE="http://www.prelude-ids.org/"
SRC_URI="http://www.prelude-ids.org/download/releases/${MY_P}.tar.gz"

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

DEPEND=">=dev-lang/python-2.3
	dev-python/cheetah"

RDEPEND="${DEPEND}
	>=dev-libs/libprelude-0.9.0_rc5
	>=dev-libs/libpreludedb-0.9.0_rc5"

S="${WORKDIR}/${MY_P}"

pkg_setup() {
	if ! built_with_use dev-libs/libprelude python || \
		! built_with_use dev-libs/libprelude python;
	then
		die 'requires dev-libs/libprelude and dev-libs/libprelude to be build with "python" use flag'
	fi

}

src_install() {
	distutils_src_install
	rm ${D}/\-dist
}

pkg_postinst() {
	einfo "For additional installation instructions go to"
	einfo "https://trac.prelude-ids.org/wiki/InstallingPrewikka"
}