void-packages/srcpkgs/libmicrohttpd/template

30 lines
767 B
Plaintext
Raw Normal View History

2013-04-30 09:56:44 +02:00
# 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 <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=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
}
}