summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-libs/libmicrohttpd/ChangeLog11
-rw-r--r--net-libs/libmicrohttpd/Manifest4
-rw-r--r--net-libs/libmicrohttpd/libmicrohttpd-0.9.0.ebuild41
-rw-r--r--net-libs/libmicrohttpd/metadata.xml10
4 files changed, 66 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/Manifest b/net-libs/libmicrohttpd/Manifest
new file mode 100644
index 000000000000..85cb68989817
--- /dev/null
+++ b/net-libs/libmicrohttpd/Manifest
@@ -0,0 +1,4 @@
+DIST libmicrohttpd-0.9.0.tar.gz 686311 RMD160 b43e28eb7b892ad1ae4a4c16a377416aec85d569 SHA1 f2e0e02e9f4cdf0e35fffeadb719a318a40ed33a SHA256 106f0599d60c9caaee36334d96cc4198ed6d392b1a45523e46f226bd24a680d5
+EBUILD libmicrohttpd-0.9.0.ebuild 916 RMD160 eb2568b4913b34e536b9d16c063ba0e3c31248fb SHA1 c539ea3e719764c365056ed4179ba33540b23392 SHA256 ad8b5c61f982a0729358452d063ba50fb800774f306e470137786615727e7796
+MISC ChangeLog 454 RMD160 264ff8daa31a76da07e5c11daa04d64fd1758e3a SHA1 2daa512e1a4447345adc75d75d4de95c679a1550 SHA256 1285b6d5d3ce98237330a051aed2dc65bd98b3efdfb09a59882188732b50b26c
+MISC metadata.xml 275 RMD160 1b1d48ace7eb30ee16b7cd1c33dd9fa695817f08 SHA1 8e66ce36ba12401c927e1b7394b652962a979a52 SHA256 9fcd14bdea1cdbac9fa4d44a3c9728877d7b87266c3553f6519a7aaec9795009
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>
+