/[gentoo-x86]/net-libs/libmicrohttpd/libmicrohttpd-0.9.20.ebuild
Gentoo

Contents of /net-libs/libmicrohttpd/libmicrohttpd-0.9.20.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Mon Jun 25 01:00:17 2012 UTC (2 years, 1 month ago) by blueness
Branch: MAIN
Changes since 1.1: +3 -3 lines
Update HOMEPAGE

(Portage version: 2.1.10.49/cvs/Linux x86_64)

1 chithanh 1.1 # Copyright 1999-2012 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 blueness 1.2 # $Header: /var/cvsroot/gentoo-x86/net-libs/libmicrohttpd/libmicrohttpd-0.9.20.ebuild,v 1.1 2012/06/09 22:35:42 chithanh Exp $
4 chithanh 1.1
5 blueness 1.2 EAPI="4"
6 chithanh 1.1
7     MY_P=${P/_/}
8    
9     DESCRIPTION="A small C library that makes it easy to run an HTTP server as part of another application."
10 blueness 1.2 HOMEPAGE="http://www.gnu.org/software/libmicrohttpd/"
11 chithanh 1.1 SRC_URI="mirror://gnu/${PN}/${MY_P}.tar.gz"
12    
13     IUSE="messages ssl static-libs test"
14     KEYWORDS="~amd64 ~x86"
15     LICENSE="LGPL-2.1"
16     SLOT="0"
17    
18     RDEPEND="ssl? (
19     dev-libs/libgcrypt
20     net-libs/gnutls
21     )"
22     # Some tests fail if curl is built against nss, bug #334067
23     DEPEND="${RDEPEND}
24     test? (
25     ssl? ( || (
26     >=net-misc/curl-7.21[ssl,-nss(-),-curl_ssl_nss(-)]
27     >=net-misc/curl-7.21[ssl,gnutls]
28     ) )
29     )"
30    
31     S=${WORKDIR}/${MY_P}
32    
33     DOCS="AUTHORS NEWS README ChangeLog"
34    
35     src_configure() {
36     econf \
37     $(use_enable test curl) \
38     $(use_enable messages) \
39     $(use_enable ssl https) \
40     $(use_with ssl gnutls) \
41     $(use_enable static-libs static)
42     }
43    
44     src_install() {
45     default
46    
47     use static-libs || find "${ED}" -name '*.la' -exec rm -f {} +
48     }

  ViewVC Help
Powered by ViewVC 1.1.20