/[gentoo-x86]/net-libs/liboauth/liboauth-1.0.1.ebuild
Gentoo

Contents of /net-libs/liboauth/liboauth-1.0.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.12 - (show annotations) (download)
Fri Dec 12 12:21:47 2014 UTC (5 years, 11 months ago) by jer
Branch: MAIN
CVS Tags: HEAD
Changes since 1.11: +3 -3 lines
Stable for HPPA (bug #529964).

(Portage version: 2.2.15/cvs/Linux x86_64, RepoMan options: --ignore-arches, signed Manifest commit with key A792A613)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-libs/liboauth/liboauth-1.0.1.ebuild,v 1.11 2013/09/07 20:15:51 ago Exp $
4
5 EAPI=5
6
7 inherit autotools-utils
8
9 DESCRIPTION="C library implementing the OAuth secure authentication protocol"
10 HOMEPAGE="http://liboauth.sourceforge.net/"
11 SRC_URI="mirror://sourceforge/project/${PN}/${P}.tar.gz"
12
13 LICENSE="|| ( GPL-2 MIT )"
14 SLOT="0"
15 KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~x64-macos"
16 IUSE="curl doc bindist +nss"
17
18 PATCHES=( "${FILESDIR}"/${P}-doxygen-out-of-tree.patch )
19 REQUIRED_USE="bindist? ( nss )"
20
21 CDEPEND="
22 nss? ( dev-libs/nss
23 curl? ( || ( net-misc/curl[ssl,curl_ssl_nss] net-misc/curl[-ssl] ) )
24 )
25
26 !nss? ( dev-libs/openssl
27 curl? ( || ( net-misc/curl[ssl,curl_ssl_openssl] net-misc/curl[-ssl] ) )
28 )
29
30 net-misc/curl
31 "
32
33 RDEPEND="${CDEPEND}"
34
35 DEPEND="${CDEPEND}
36 doc? (
37 app-doc/doxygen
38 media-gfx/graphviz
39 media-fonts/freefont
40 )
41 virtual/pkgconfig"
42
43 src_configure() {
44 local myeconfargs=(
45 --disable-static
46 $(use_enable !curl curl)
47 $(use_enable curl libcurl)
48 $(use_enable nss)
49 )
50
51 autotools-utils_src_configure
52 }
53
54 src_compile() {
55 autotools-utils_src_compile
56
57 if use doc ; then
58 # make sure fonts are found
59 export DOTFONTPATH="${EPREFIX}"/usr/share/fonts/freefont-ttf
60 autotools-utils_src_compile dox
61 fi
62 }
63
64 DOCS=( AUTHORS ChangeLog LICENSE.OpenSSL README )
65
66 src_install() {
67 use doc && HTML_DOCS=("${BUILD_DIR}"/doc/html/)
68
69 autotools-utils_src_install
70 }

  ViewVC Help
Powered by ViewVC 1.1.20