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