From 21be1b12bcfb262063ffa41d5f2c78d3d6c4edfa Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 30 Apr 2013 09:56:44 +0200 Subject: [PATCH] New package: libmicrohttpd-0.9.26. --- common/shlibs | 1 + srcpkgs/libmicrohttpd-devel | 1 + srcpkgs/libmicrohttpd/template | 29 +++++++++++++++++++++++++++++ 3 files changed, 31 insertions(+) create mode 120000 srcpkgs/libmicrohttpd-devel create mode 100644 srcpkgs/libmicrohttpd/template diff --git a/common/shlibs b/common/shlibs index 828990c8ca..f7fe6e9964 100644 --- a/common/shlibs +++ b/common/shlibs @@ -1235,3 +1235,4 @@ libjsoncpp.so.0 jsoncpp-0.6.0rc2_1 libesmtp.so.6 libesmtp-1.0.6_4 libcaca.so.0 libcaca-0.99.beta18_3 libunwind.so.8 libunwind-1.1_1 +libmicrohttpd.so.10 libmicrohttpd-0.9.26_1 diff --git a/srcpkgs/libmicrohttpd-devel b/srcpkgs/libmicrohttpd-devel new file mode 120000 index 0000000000..30a8d9663f --- /dev/null +++ b/srcpkgs/libmicrohttpd-devel @@ -0,0 +1 @@ +libmicrohttpd \ No newline at end of file diff --git a/srcpkgs/libmicrohttpd/template b/srcpkgs/libmicrohttpd/template new file mode 100644 index 0000000000..e61d9fc600 --- /dev/null +++ b/srcpkgs/libmicrohttpd/template @@ -0,0 +1,29 @@ +# Template file for 'libmicrohttpd' +pkgname=libmicrohttpd +version=0.9.26 +revision=1 +build_style=gnu-configure +makedepends="libgcrypt-devel gnutls-devel" +short_desc="Library embedding HTTP server functionality" +maintainer="Juan RP " +homepage="http://www.gnu.org/software/libmicrohttpd/" +license="LGPL-2.1" +distfiles="http://ftp.gnu.org/gnu/libmicrohttpd/${pkgname}-${version}.tar.gz" +checksum=81901d512a3f60e7ed606efd68b55a8135eb5357b99ee6fcbc5ffef12a7ae1c5 + +libmicrohttpd-devel_package() { + depends="libgcrypt-devel ${sourcepkg}>=${version}" + short_desc+=" -- development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove "usr/lib/*.a" + vmove usr/share + } +} + +libmicrohttpd_package() { + pkg_install() { + vmove usr + } +}