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.7.ebuild ChangeLog
Date: Wed, 04 Jul 2012 12:53:40
Message-Id: 20120704125330.674952004B@flycatcher.gentoo.org
1 flameeyes 12/07/04 12:53:30
2
3 Modified: ChangeLog
4 Added: liboauth-0.9.7.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.0_alpha115/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.14 net-libs/liboauth/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/liboauth/ChangeLog?rev=1.14&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/liboauth/ChangeLog?rev=1.14&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/liboauth/ChangeLog?r1=1.13&r2=1.14
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-libs/liboauth/ChangeLog,v
20 retrieving revision 1.13
21 retrieving revision 1.14
22 diff -u -r1.13 -r1.14
23 --- ChangeLog 11 May 2012 04:19:30 -0000 1.13
24 +++ ChangeLog 4 Jul 2012 12:53:30 -0000 1.14
25 @@ -1,6 +1,11 @@
26 # ChangeLog for net-libs/liboauth
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-libs/liboauth/ChangeLog,v 1.13 2012/05/11 04:19:30 flameeyes Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-libs/liboauth/ChangeLog,v 1.14 2012/07/04 12:53:30 flameeyes Exp $
30 +
31 +*liboauth-0.9.7 (04 Jul 2012)
32 +
33 + 04 Jul 2012; Diego E. Pettenò <flameeyes@g.o> +liboauth-0.9.7.ebuild:
34 + Version bump.
35
36 11 May 2012; Diego E. Pettenò <flameeyes@g.o> -liboauth-0.9.5.ebuild,
37 liboauth-0.9.6.ebuild:
38 @@ -79,4 +84,3 @@
39 +metadata.xml:
40 Import liboauth 0.8.8, thanks to Ricardo Ichizo in bug #328209 for the
41 base ebuild.
42 -
43
44
45
46 1.1 net-libs/liboauth/liboauth-0.9.7.ebuild
47
48 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/liboauth/liboauth-0.9.7.ebuild?rev=1.1&view=markup
49 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/liboauth/liboauth-0.9.7.ebuild?rev=1.1&content-type=text/plain
50
51 Index: liboauth-0.9.7.ebuild
52 ===================================================================
53 # Copyright 1999-2012 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.9.7.ebuild,v 1.1 2012/07/04 12:53:30 flameeyes Exp $
56
57 EAPI=4
58
59 DESCRIPTION="C library implementing the OAuth secure authentication protocol"
60 HOMEPAGE="http://liboauth.sourceforge.net/"
61 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz
62 http://liboauth.sourceforge.net/pool/${P}.tar.gz"
63
64 LICENSE="|| ( GPL-2 MIT )"
65 SLOT="0"
66 KEYWORDS="~amd64 ~x86 ~x64-macos"
67 IUSE="curl doc bindist +nss"
68
69 REQUIRED_USE="bindist? ( nss )"
70
71 CDEPEND="
72 nss? ( dev-libs/nss
73 curl? ( || ( net-misc/curl[ssl,curl_ssl_nss] net-misc/curl[-ssl] ) )
74 )
75
76 !nss? ( dev-libs/openssl
77 curl? ( || ( net-misc/curl[ssl,curl_ssl_openssl] net-misc/curl[-ssl] ) )
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 virtual/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
113
114 if use doc ; then
115 # make sure fonts are found
116 export DOTFONTPATH="${EPREFIX}"/usr/share/fonts/freefont-ttf
117 emake dox
118 fi
119 }
120
121 src_test() {
122 # explicitly allow parallel test build
123 emake check
124 }
125
126 DOCS=( AUTHORS ChangeLog LICENSE.OpenSSL NEWS README )
127
128 src_install() {
129 default
130
131 if use doc; then
132 dohtml -r doc/html/*
133 fi
134 }