Gentoo Archives: gentoo-commits

From: "Diego Petteno (flameeyes)" <flameeyes@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-libs/liboauth: ChangeLog liboauth-0.8.9.ebuild liboauth-0.8.8.ebuild
Date: Mon, 30 Aug 2010 21:07:04
Message-Id: 20100830210654.F333320051@flycatcher.gentoo.org
1 flameeyes 10/08/30 21:06:54
2
3 Modified: ChangeLog
4 Added: liboauth-0.8.9.ebuild
5 Removed: liboauth-0.8.8.ebuild
6 Log:
7 Version bump; fix build of doxygen API doc; upstream merged my patches so less files around.
8
9 (Portage version: 2.2_rc72/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.2 net-libs/liboauth/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/liboauth/ChangeLog?rev=1.2&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/liboauth/ChangeLog?rev=1.2&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/liboauth/ChangeLog?r1=1.1&r2=1.2
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/net-libs/liboauth/ChangeLog,v
21 retrieving revision 1.1
22 retrieving revision 1.2
23 diff -u -r1.1 -r1.2
24 --- ChangeLog 27 Aug 2010 19:57:12 -0000 1.1
25 +++ ChangeLog 30 Aug 2010 21:06:54 -0000 1.2
26 @@ -1,6 +1,15 @@
27 # ChangeLog for net-libs/liboauth
28 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/net-libs/liboauth/ChangeLog,v 1.1 2010/08/27 19:57:12 flameeyes Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/net-libs/liboauth/ChangeLog,v 1.2 2010/08/30 21:06:54 flameeyes Exp $
31 +
32 +*liboauth-0.8.9 (30 Aug 2010)
33 +
34 + 30 Aug 2010; Diego E. Pettenò <flameeyes@g.o>
35 + -liboauth-0.8.8.ebuild, -files/liboauth-0.8.8-asneeded.patch,
36 + -files/liboauth-0.8.8-pkgconfig.patch, -files/liboauth-0.8.8-tests.patch,
37 + +liboauth-0.8.9.ebuild:
38 + Version bump; fix build of doxygen API doc; upstream merged my patches so
39 + less files around.
40
41 27 Aug 2010; Diego E. Pettenò <flameeyes@g.o>
42 +liboauth-0.8.8.ebuild, +files/liboauth-0.8.8-asneeded.patch,
43
44
45
46 1.1 net-libs/liboauth/liboauth-0.8.9.ebuild
47
48 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/liboauth/liboauth-0.8.9.ebuild?rev=1.1&view=markup
49 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/liboauth/liboauth-0.8.9.ebuild?rev=1.1&content-type=text/plain
50
51 Index: liboauth-0.8.9.ebuild
52 ===================================================================
53 # Copyright 1999-2010 Gentoo Foundation
54 # Distributed under the terms of the GNU General Public License v2
55 # $Header: /var/cvsroot/gentoo-x86/net-libs/liboauth/liboauth-0.8.9.ebuild,v 1.1 2010/08/30 21:06:54 flameeyes Exp $
56
57 EAPI=2
58
59 inherit eutils autotools
60
61 DESCRIPTION="C library implementing the OAuth secure authentication protocol"
62 HOMEPAGE="http://liboauth.sourceforge.net/"
63 SRC_URI="http://liboauth.sourceforge.net/pool/${P}.tar.gz"
64
65 LICENSE="|| ( GPL-2 MIT )"
66 SLOT="0"
67 KEYWORDS="~amd64 ~x86"
68 IUSE="curl doc bindist +nss"
69
70 CDEPEND="
71 nss? ( dev-libs/nss
72 curl? ( || ( net-misc/curl[ssl,nss,-gnutls] net-misc/curl[-ssl] ) )
73 )
74
75 bindist? ( dev-libs/nss
76 curl? ( || ( net-misc/curl[ssl,nss,-gnutls] net-misc/curl[-ssl] ) )
77 )
78
79 !bindist? (
80 !nss? ( dev-libs/openssl
81 curl? ( || ( net-misc/curl[ssl,-nss,-gnutls] net-misc/curl[-ssl] ) )
82 )
83 )
84
85 net-misc/curl
86 "
87
88 RDEPEND="${CDEPEND}"
89
90 DEPEND="${CDEPEND}
91 doc? (
92 app-doc/doxygen
93 media-gfx/graphviz
94 media-fonts/freefont-ttf
95 )
96 dev-util/pkgconfig"
97
98 src_configure() {
99 local myconf=
100
101 if use nss || use bindist; then
102 myconf="${myconf} --enable-nss"
103 else
104 myconf="${myconf} --disable-nss"
105 fi
106
107 econf \
108 --disable-dependency-tracking \
109 --enable-fast-install \
110 --disable-static \
111 $(use_enable !curl curl) \
112 $(use_enable curl libcurl) \
113 ${myconf}
114 }
115
116 src_compile() {
117 emake || die "emake failed"
118
119 if use doc ; then
120 # make sure fonts are found
121 export DOTFONTPATH=/usr/share/fonts/freefont-ttf
122 emake dox || die "emake dox failed"
123 fi
124 }
125
126 src_test() {
127 # explicitly allow parallel test build
128 emake check || die "emake check failed"
129 }
130
131 src_install() {
132 emake DESTDIR="${D}" install || die "install failed"
133
134 find "${D}" -name '*.la' -delete || die
135
136 dodoc AUTHORS ChangeLog LICENSE.OpenSSL NEWS README || die "dodoc failed"
137
138 if use doc; then
139 dohtml -r doc/html/* || die "dohtml failed"
140 fi
141 }