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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (hide annotations) (download)
Mon Sep 2 23:11:29 2013 UTC (10 months, 2 weeks ago) by blueness
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
Remove older versions

(Portage version: 2.1.12.2/cvs/Linux x86_64, signed Manifest commit with key 0xF52D4BBA)

1 blueness 1.1 # Copyright 1999-2012 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 blueness 1.4 # $Header: /var/cvsroot/gentoo-x86/net-libs/libmicrohttpd/libmicrohttpd-0.9.21.ebuild,v 1.3 2012/10/17 03:28:12 phajdan.jr Exp $
4 blueness 1.1
5     EAPI="4"
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://www.gnu.org/software/libmicrohttpd/"
11     SRC_URI="mirror://gnu/${PN}/${MY_P}.tar.gz"
12    
13     IUSE="messages ssl static-libs test"
14 phajdan.jr 1.3 KEYWORDS="amd64 x86"
15 blueness 1.1 LICENSE="LGPL-2.1"
16     SLOT="0"
17    
18     RDEPEND="ssl? (
19     dev-libs/libgcrypt
20     net-libs/gnutls
21     )"
22    
23     DEPEND="${RDEPEND}
24     test? (
25     ssl? ( >=net-misc/curl-7.25.0-r1[ssl] )
26     )"
27    
28     S=${WORKDIR}/${MY_P}
29    
30     DOCS="AUTHORS NEWS README ChangeLog"
31    
32     src_configure() {
33     econf \
34     $(use_enable test curl) \
35     $(use_enable messages) \
36     $(use_enable ssl https) \
37     $(use_with ssl gnutls) \
38     $(use_enable static-libs static)
39     }
40    
41     src_install() {
42     default
43    
44     use static-libs || find "${ED}" -name '*.la' -exec rm -f {} +
45     }

  ViewVC Help
Powered by ViewVC 1.1.20