/[gentoo-x86]/net-libs/ldns/ldns-1.6.2.ebuild
Gentoo

Contents of /net-libs/ldns/ldns-1.6.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Tue Nov 9 00:00:42 2010 UTC (8 years, 5 months ago) by matsuu
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Version bumped. Added gost USE flag.

(Portage version: 2.1.9.22/cvs/Linux x86_64)

1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-libs/ldns/ldns-1.6.2.ebuild,v 1.2 2009/11/30 14:17:31 tove Exp $
4
5 EAPI="2"
6
7 DESCRIPTION="ldns is a library with the aim to simplify DNS programing in C"
8 HOMEPAGE="http://www.nlnetlabs.nl/projects/ldns/"
9 SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${P}.tar.gz"
10
11 LICENSE="BSD"
12 SLOT="0"
13 KEYWORDS="~amd64 ~x86"
14 IUSE="doc ssl vim-syntax"
15
16 RDEPEND="ssl? ( >=dev-libs/openssl-0.9.7 )"
17 DEPEND="${DEPEND}
18 doc? ( app-doc/doxygen )"
19
20 src_configure() {
21 econf \
22 $(use_enable ssl sha2) \
23 $(use_with ssl) \
24 --disable-rpath || die "econf failed"
25 }
26
27 src_compile() {
28 emake || die "emake failed"
29 if use doc ; then
30 emake doxygen || die "emake doxygen failed"
31 fi
32 }
33
34 src_install() {
35 emake DESTDIR="${D}" install || die "emake install failed"
36 dodoc Changelog README* || die "dodoc failed"
37
38 if use doc ; then
39 dohtml doc/html/* || die "dohtml failed"
40 fi
41
42 if use vim-syntax ; then
43 insinto /usr/share/vim/vimfiles/ftdetect
44 doins libdns.vim || die "doins libdns.vim failed"
45 fi
46 }

  ViewVC Help
Powered by ViewVC 1.1.20