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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sat Mar 3 13:58:44 2012 UTC (2 years, 4 months ago) by chithanh
Branch: MAIN
Version bump, bug #406377.

(Portage version: 2.2.0_alpha89/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-libs/libmicrohttpd/libmicrohttpd-0.9.15.ebuild,v 1.1 2011/10/16 01:27:10 chithanh Exp $
4
5 EAPI=2
6
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 HOMEPAGE="http://gnunet.org/libmicrohttpd/"
11 SRC_URI="mirror://gnu/${PN}/${MY_P}.tar.gz"
12
13 IUSE="messages ssl 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 net-misc/curl"
23 # Some tests fail if curl is built against nss, bug #334067
24 DEPEND="${RDEPEND}
25 test? (
26 ssl? ( || (
27 >=net-misc/curl-7.21[ssl,-nss]
28 >=net-misc/curl-7.21[ssl,gnutls]
29 ) )
30 )"
31
32 S=${WORKDIR}/${MY_P}
33
34 src_configure() {
35 econf \
36 --enable-curl \
37 $(use_enable messages) \
38 $(use_enable ssl https) \
39 $(use_with ssl gnutls)
40 }
41
42 src_compile() {
43 emake || die "emake failed"
44 }
45
46 src_install() {
47 emake install DESTDIR="${D}" || die "make install failed"
48 dodoc AUTHORS NEWS README ChangeLog || die
49 }

  ViewVC Help
Powered by ViewVC 1.1.20