summaryrefslogtreecommitdiff
blob: b1ef766641a057617eb40dde6034599b039b58c7 (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
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header$

DESCRIPTION="ldns is a library with the aim to simplify DNS programing in C"
HOMEPAGE="http://www.nlnetlabs.nl/projects/ldns/"
SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${P}.tar.gz"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="examples"

DEPEND="dev-libs/openssl"

src_install() {
	emake DESTDIR="${D}" install || die "emake install failed"
	dodoc Changelog README || die "dodoc failed"

	if use examples; then
		docinto examples
		dodoc examples/* || die "dodoc for examples failed"
	fi
}

pkg_postinst() {
	ewarn "The drill binary and the ldns-* utilities were moved into their own"
	ewarn "package. If you need them, install net-dns/ldns-utils."
}