summaryrefslogtreecommitdiff
blob: fccb95ff5532a58205c54926f245c2c2647d0d15 (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
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/quidscor/quidscor-1.2.48.ebuild,v 1.4 2004/07/10 11:41:29 eldad Exp $

DESCRIPTION="IDS/VA Correlation engine"
HOMEPAGE="http://quidscor.sourceforge.net/"
SRC_URI="mirror://sourceforge/quidscor/${P}-src.tar.gz"

LICENSE="BSD"
SLOT="0"
KEYWORDS="x86"
IUSE=""

DEPEND=">=dev-libs/libxml2-2.4
	>=net-misc/curl-7.10
	>=net-analyzer/snort-2.0"

src_unpack() {
	unpack ${A}
	sed -i '/^CFLAGS=/s: -g : :' Makefile
}

src_compile() {
	emake EXTRA_CFLAGS="${CFLAGS}" || die
}

src_install() {
	emake PREFIX=/usr STAGING_PREFIX=${D} install || die
	dodoc ChangeLog FAQ MANIFEST README TODO
	# fix ugly install
	cd ${D}/usr
	mv etc ..
	rm -rf doc
}