diff options
author | Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> | 2010-08-14 14:22:40 +0000 |
---|---|---|
committer | Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> | 2010-08-14 14:22:40 +0000 |
commit | 49f69322af83079613d1830407a723a82a4bf25d (patch) | |
tree | 64a2cd5cb2beea3b7e751ba38f82c9d0dbcb9e20 /net-libs/libmicrohttpd | |
parent | Version bump (diff) | |
download | gentoo-2-49f69322af83079613d1830407a723a82a4bf25d.tar.gz gentoo-2-49f69322af83079613d1830407a723a82a4bf25d.tar.bz2 gentoo-2-49f69322af83079613d1830407a723a82a4bf25d.zip |
New ebuild for bug #224165.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'net-libs/libmicrohttpd')
-rw-r--r-- | net-libs/libmicrohttpd/ChangeLog | 11 | ||||
-rw-r--r-- | net-libs/libmicrohttpd/libmicrohttpd-0.9.0.ebuild | 41 | ||||
-rw-r--r-- | net-libs/libmicrohttpd/metadata.xml | 10 |
3 files changed, 62 insertions, 0 deletions
diff --git a/net-libs/libmicrohttpd/ChangeLog b/net-libs/libmicrohttpd/ChangeLog new file mode 100644 index 000000000000..2d9771a0fe90 --- /dev/null +++ b/net-libs/libmicrohttpd/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for net-libs/libmicrohttpd +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-libs/libmicrohttpd/ChangeLog,v 1.1 2010/08/14 14:22:40 chithanh Exp $ + +*libmicrohttpd-0.9.0 (14 Aug 2010) + + 14 Aug 2010; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> + +libmicrohttpd-0.9.0.ebuild, +metadata.xml: + New ebuild for bug #224165. Thanks to rpansky, Adam Coyne, candrews and + others + diff --git a/net-libs/libmicrohttpd/libmicrohttpd-0.9.0.ebuild b/net-libs/libmicrohttpd/libmicrohttpd-0.9.0.ebuild new file mode 100644 index 000000000000..c2ec3c41a9ee --- /dev/null +++ b/net-libs/libmicrohttpd/libmicrohttpd-0.9.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-libs/libmicrohttpd/libmicrohttpd-0.9.0.ebuild,v 1.1 2010/08/14 14:22:40 chithanh Exp $ + +EAPI=2 + +MY_P=${P/_/} + +DESCRIPTION="A small C library that makes it easy to run an HTTP server as part of another application." +HOMEPAGE="http://gnunet.org/libmicrohttpd/" +SRC_URI="mirror://gnu/${PN}/${MY_P}.tar.gz" + +IUSE="ssl" +KEYWORDS="~amd64 ~x86" +LICENSE="LGPL-2.1" +SLOT="0" + +DEPEND="ssl? ( + >=dev-libs/libgcrypt-1.2.2 + net-libs/gnutls + ) + >=net-misc/curl-7.16.4" +RDEPEND="${DEPEND}" + +S=${WORKDIR}/${MY_P} + +src_configure() { + econf \ + --enable-curl \ + $(use_enable ssl https) \ + $(use_with ssl gnutls) +} + +src_compile() { + emake || die "emake failed" +} + +src_install() { + emake install DESTDIR="${D}" || die "make install failed" + dodoc AUTHORS NEWS README ChangeLog || die +} diff --git a/net-libs/libmicrohttpd/metadata.xml b/net-libs/libmicrohttpd/metadata.xml new file mode 100644 index 000000000000..8fe9668040a6 --- /dev/null +++ b/net-libs/libmicrohttpd/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>no-herd</herd> + <maintainer> + <email>chithanh@gentoo.org</email> + <name>Chí-Thanh Christopher Nguyễn</name> + </maintainer> +</pkgmetadata> + |