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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Mon Nov 25 20:57:10 2013 UTC (4 years, 6 months ago) by jer
Branch: MAIN
Changes since 1.1: +2 -2 lines
Marked ~hppa too.

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

1 blueness 1.1 # Copyright 1999-2013 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 jer 1.2 # $Header: /var/cvsroot/gentoo-x86/net-libs/libmicrohttpd/libmicrohttpd-0.9.28.ebuild,v 1.1 2013/07/24 01:16:19 blueness Exp $
4 blueness 1.1
5     EAPI="5"
6    
7     inherit eutils
8    
9     MY_P="${P/_/}"
10    
11     DESCRIPTION="A small C library that makes it easy to run an HTTP server as part of another application."
12     HOMEPAGE="http://www.gnu.org/software/libmicrohttpd/"
13     SRC_URI="mirror://gnu/${PN}/${MY_P}.tar.gz"
14    
15     IUSE="messages ssl static-libs test"
16 jer 1.2 KEYWORDS="~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~x86"
17 blueness 1.1 LICENSE="LGPL-2.1"
18     SLOT="0"
19    
20     RDEPEND="ssl? (
21     dev-libs/libgcrypt
22     net-libs/gnutls
23     )"
24    
25     DEPEND="${RDEPEND}
26     test? (
27     ssl? ( >=net-misc/curl-7.25.0-r1[ssl] )
28     )"
29    
30     S=${WORKDIR}/${MY_P}
31    
32     DOCS="AUTHORS NEWS README ChangeLog"
33    
34     src_prepare() {
35     epatch "${FILESDIR}"/${P}-fix-no-messages.patch
36     }
37    
38     src_configure() {
39     econf \
40     --enable-bauth \
41     --enable-dauth \
42     $(use_enable test curl) \
43     $(use_enable messages) \
44     $(use_enable messages postprocessor) \
45     $(use_enable ssl https) \
46     $(use_with ssl gnutls) \
47     $(use_enable static-libs static)
48     }
49    
50     src_install() {
51     default
52    
53     use static-libs || find "${ED}" -name '*.la' -exec rm -f {} +
54     }

  ViewVC Help
Powered by ViewVC 1.1.20