void-packages/srcpkgs/libmicrohttpd/template
2018-02-02 15:33:47 +01:00

26 lines
761 B
Bash

# Template file for 'libmicrohttpd'
pkgname=libmicrohttpd
version=0.9.59
revision=1
build_style=gnu-configure
makedepends="libgcrypt-devel gnutls-devel libcurl-devel"
short_desc="Library embedding HTTP server functionality"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.gnu.org/software/libmicrohttpd/"
license="LGPL-2.1"
distfiles="${GNU_SITE}/libmicrohttpd/${pkgname}-${version}.tar.gz"
checksum=9b9ccd7d0b11b0e179f1f58dc2caa3e0c62c8609e1e1dc7dcaadf941b67d923c
LDFLAGS=" -lgnutls"
libmicrohttpd-devel_package() {
depends="${makedepends} ${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
}
}