blob: 201ed552417491272bd665e58b7603acc1be5a3a (
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
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="2"
DESCRIPTION="An IP Video security assessment tool"
HOMEPAGE="http://videojak.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~x86"
IUSE="debug ncurses pcre ssl"
DEPEND="net-libs/libpcap
net-libs/libnet
media-libs/alsa-lib
ncurses? ( sys-libs/ncurses )
pcre? ( dev-libs/libpcre )
ssl? ( dev-libs/openssl )"
RDEPEND="${DEPEND}"
src_prepare() {
sed -e 's#cp \*.ffpreset /usr/local#cp \*.ffpreset $(DESTDIR)/usr#' \
-i conf/Makefile || die "sed failed"
}
src_configure() {
econf $(use_with ssl openssl /usr) \
$(use_with pcre libpcre /usr) \
$(use_with iconv iconv /usr) \
$(use_with ncurses libncurses /usr) \
$(use_enable debug)
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
}
|