# Template file for 'libmicrohttpd'
pkgname=libmicrohttpd
version=0.9.37
revision=1
build_style=gnu-configure
makedepends="libgcrypt-devel gnutls-devel"
short_desc="Library embedding HTTP server functionality"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.gnu.org/software/libmicrohttpd/"
license="LGPL-2.1"
distfiles="http://ftp.gnu.org/gnu/libmicrohttpd/${pkgname}-${version}.tar.gz"
checksum=a78cbcc050fb50f4ef4cf02709a3f8dd498e9230271b445fc3dbec4132b47cdc

libmicrohttpd-devel_package() {
	depends="libgcrypt-devel ${sourcepkg}>=${version}_${revision}"
	short_desc+=" -- development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove "usr/lib/*.a"
		vmove "usr/lib/*.so"
		vmove usr/share
	}
}
