summaryrefslogtreecommitdiff
blob: 97e70e63ba0e0f4439c5b456ad9685c1cb973201 (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
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-dns/dnscap/dnscap-20130814.ebuild,v 1.1 2014/04/26 20:19:24 wschlich Exp $

EAPI=5

inherit eutils

DESCRIPTION="dnscap is a network capture utility designed specifically for DNS traffic"
HOMEPAGE="http://dnscap.dns-oarc.net/"

## github commit tarball
MY_GIT_COMMIT="727ed7d5e46625abc2c8d988689a300589e948b6"
MY_P="verisign-${PN}-${MY_GIT_COMMIT:0:7}"
SRC_URI="https://github.com/verisign/${PN}/tarball/${MY_GIT_COMMIT} -> ${PF}.tar.gz"

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

KEYWORDS="~amd64 ~x86"
SLOT="0"
LICENSE="ISC"
IUSE=""

RDEPEND="net-libs/libpcap"
DEPEND="${RDEPEND}"

src_prepare() {
	## adds DESTDIR to install target
	epatch "${FILESDIR}/${P}.install.patch"
}