Gentoo Archives: gentoo-commits

From: "Matsuu Takuto (matsuu)" <matsuu@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-libs/ldns: ChangeLog ldns-1.6.8.ebuild
Date: Tue, 25 Jan 2011 13:36:48
Message-Id: 20110125133638.0B20620054@flycatcher.gentoo.org
1 matsuu 11/01/25 13:36:38
2
3 Modified: ChangeLog
4 Added: ldns-1.6.8.ebuild
5 Log:
6 Version bumped. Added static-libs USE flag.
7
8 (Portage version: 2.1.9.31/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.13 net-libs/ldns/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/ldns/ChangeLog?rev=1.13&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/ldns/ChangeLog?rev=1.13&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/ldns/ChangeLog?r1=1.12&r2=1.13
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-libs/ldns/ChangeLog,v
20 retrieving revision 1.12
21 retrieving revision 1.13
22 diff -u -r1.12 -r1.13
23 --- ChangeLog 9 Nov 2010 00:00:42 -0000 1.12
24 +++ ChangeLog 25 Jan 2011 13:36:37 -0000 1.13
25 @@ -1,6 +1,11 @@
26 # ChangeLog for net-libs/ldns
27 -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-libs/ldns/ChangeLog,v 1.12 2010/11/09 00:00:42 matsuu Exp $
29 +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/net-libs/ldns/ChangeLog,v 1.13 2011/01/25 13:36:37 matsuu Exp $
31 +
32 +*ldns-1.6.8 (25 Jan 2011)
33 +
34 + 25 Jan 2011; MATSUU Takuto <matsuu@g.o> +ldns-1.6.8.ebuild:
35 + Version bumped. Added static-libs USE flag.
36
37 *ldns-1.6.7 (08 Nov 2010)
38
39
40
41
42 1.1 net-libs/ldns/ldns-1.6.8.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/ldns/ldns-1.6.8.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/ldns/ldns-1.6.8.ebuild?rev=1.1&content-type=text/plain
46
47 Index: ldns-1.6.8.ebuild
48 ===================================================================
49 # Copyright 1999-2011 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/net-libs/ldns/ldns-1.6.8.ebuild,v 1.1 2011/01/25 13:36:37 matsuu Exp $
52
53 EAPI="3"
54 PYTHON_DEPEND="python? 2:2.4"
55
56 inherit python
57
58 DESCRIPTION="ldns is a library with the aim to simplify DNS programing in C"
59 HOMEPAGE="http://www.nlnetlabs.nl/projects/ldns/"
60 SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${P}.tar.gz"
61
62 LICENSE="BSD"
63 SLOT="0"
64 KEYWORDS="~amd64 ~x86 ~ppc-macos ~x64-macos"
65 IUSE="doc gost python ssl static-libs vim-syntax"
66
67 RDEPEND="ssl? ( >=dev-libs/openssl-0.9.7 )
68 gost? ( >=dev-libs/openssl-1 )"
69 DEPEND="${RDEPEND}
70 python? ( dev-lang/swig )
71 doc? ( app-doc/doxygen )"
72
73 pkg_setup() {
74 python_set_active_version 2
75 }
76
77 src_configure() {
78 econf \
79 $(use_enable gost) \
80 $(use_enable ssl sha2) \
81 $(use_enable static-libs static) \
82 $(use_with ssl) \
83 $(use_with python pyldns) \
84 --disable-rpath || die "econf failed"
85 }
86
87 src_compile() {
88 emake || die "emake failed"
89 if use doc ; then
90 emake doxygen || die "emake doxygen failed"
91 fi
92 }
93
94 src_install() {
95 emake DESTDIR="${D}" install || die "emake install failed"
96 dodoc Changelog README* || die "dodoc failed"
97
98 if use python ; then
99 find "${ED}$(python_get_sitedir)" "(" -name "*.a" -o -name "*.la" ")" -type f -delete || die
100 fi
101
102 if use doc ; then
103 dohtml doc/html/* || die "dohtml failed"
104 fi
105
106 if use vim-syntax ; then
107 insinto /usr/share/vim/vimfiles/ftdetect
108 doins libdns.vim || die "doins libdns.vim failed"
109 fi
110 }