Gentoo Archives: gentoo-commits

From: "Alexis Ballier (aballier)" <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-libs/libasyncns: ChangeLog libasyncns-0.8-r3.ebuild
Date: Sat, 26 Oct 2013 08:02:04
Message-Id: 20131026080152.C973220047@flycatcher.gentoo.org
1 aballier 13/10/26 08:01:52
2
3 Modified: ChangeLog
4 Added: libasyncns-0.8-r3.ebuild
5 Log:
6 convert to multilib, by Reinis Danne, bug #488278
7
8 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 160F534A)
9
10 Revision Changes Path
11 1.35 net-libs/libasyncns/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libasyncns/ChangeLog?rev=1.35&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libasyncns/ChangeLog?rev=1.35&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libasyncns/ChangeLog?r1=1.34&r2=1.35
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-libs/libasyncns/ChangeLog,v
20 retrieving revision 1.34
21 retrieving revision 1.35
22 diff -u -r1.34 -r1.35
23 --- ChangeLog 20 Dec 2012 17:40:53 -0000 1.34
24 +++ ChangeLog 26 Oct 2013 08:01:52 -0000 1.35
25 @@ -1,6 +1,11 @@
26 # ChangeLog for net-libs/libasyncns
27 -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-libs/libasyncns/ChangeLog,v 1.34 2012/12/20 17:40:53 hasufell Exp $
29 +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/net-libs/libasyncns/ChangeLog,v 1.35 2013/10/26 08:01:52 aballier Exp $
31 +
32 +*libasyncns-0.8-r3 (26 Oct 2013)
33 +
34 + 26 Oct 2013; Alexis Ballier <aballier@g.o> +libasyncns-0.8-r3.ebuild:
35 + convert to multilib, by Reinis Danne, bug #488278
36
37 20 Dec 2012; Julian Ospald <hasufell@g.o> libasyncns-0.8-r2.ebuild:
38 fix missing doc compression wrt #447936
39
40
41
42 1.1 net-libs/libasyncns/libasyncns-0.8-r3.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libasyncns/libasyncns-0.8-r3.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libasyncns/libasyncns-0.8-r3.ebuild?rev=1.1&content-type=text/plain
46
47 Index: libasyncns-0.8-r3.ebuild
48 ===================================================================
49 # Copyright 1999-2013 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/net-libs/libasyncns/libasyncns-0.8-r3.ebuild,v 1.1 2013/10/26 08:01:52 aballier Exp $
52
53 EAPI=5
54 inherit eutils flag-o-matic libtool multilib multilib-minimal
55
56 DESCRIPTION="C library for executing name service queries asynchronously."
57 HOMEPAGE="http://0pointer.de/lennart/projects/libasyncns/"
58 SRC_URI="http://0pointer.de/lennart/projects/libasyncns/${P}.tar.gz"
59
60 SLOT="0"
61
62 LICENSE="LGPL-2.1"
63 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
64
65 IUSE="doc debug"
66
67 RDEPEND=""
68 DEPEND="doc? ( app-doc/doxygen )"
69
70 src_prepare() {
71 # fix libdir in pkgconfig file
72 epatch "${FILESDIR}/${P}-libdir.patch"
73 elibtoolize
74 }
75
76 multilib_src_configure() {
77 # libasyncns uses assert()
78 use debug || append-cppflags -DNDEBUG
79
80 ECONF_SOURCE=${S} \
81 econf \
82 --docdir="${EPREFIX}"/usr/share/doc/${PF} \
83 --htmldir="${EPREFIX}"/usr/share/doc/${PF}/html \
84 --disable-dependency-tracking \
85 --disable-lynx \
86 --disable-static
87 }
88
89 multilib_src_compile() {
90 emake || die "emake failed"
91
92 if multilib_is_native_abi && use doc; then
93 doxygen doxygen/doxygen.conf || die "doxygen failed"
94 fi
95 }
96
97 multilib_src_install() {
98 emake DESTDIR="${D}" install || die "emake install failed"
99
100 if multilib_is_native_abi && use doc; then
101 docinto apidocs
102 dohtml html/*
103 fi
104 }
105
106 multilib_src_install_all() {
107 find "${D}" -name '*.la' -delete
108 }