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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Wed Jan 11 15:25:31 2012 UTC (7 years, 3 months ago) by matsuu
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
Version bumped. Removed CFALGS="-g -O2", bug #385151.

(Portage version: 2.1.10.44/cvs/Linux x86_64)

1 # Copyright 1999-2010 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.4.ebuild,v 1.4 2010/04/02 19:33:34 grobian 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 ~ppc-macos ~x64-macos"
14 #IUSE="doc python ssl vim-syntax"
15 IUSE="doc ssl vim-syntax"
16
17 RDEPEND="ssl? ( >=dev-libs/openssl-0.9.7 )"
18 # python? (
19 # >=dev-lang/python-2.4
20 # dev-lang/swig
21 # )
22 DEPEND="${DEPEND}
23 doc? ( app-doc/doxygen )"
24
25 src_configure() {
26 econf \
27 $(use_enable ssl sha2) \
28 $(use_with ssl) \
29 --disable-rpath || die "econf failed"
30 # $(use_with python pyldns) \
31 }
32
33 src_compile() {
34 emake || die "emake failed"
35 if use doc ; then
36 emake doxygen || die "emake doxygen failed"
37 fi
38 }
39
40 src_install() {
41 emake DESTDIR="${D}" install || die "emake install failed"
42 dodoc Changelog README* || die "dodoc failed"
43
44 if use doc ; then
45 dohtml doc/html/* || die "dohtml failed"
46 fi
47
48 if use vim-syntax ; then
49 insinto /usr/share/vim/vimfiles/ftdetect
50 doins libdns.vim || die "doins libdns.vim failed"
51 fi
52 }

  ViewVC Help
Powered by ViewVC 1.1.20