void-packages/srcpkgs/libmicrohttpd/template
2018-12-09 05:16:19 -02:00

26 lines
770 B
Bash

# Template file for 'libmicrohttpd'
pkgname=libmicrohttpd
version=0.9.62
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>"
license="LGPL-2.1-or-later"
homepage="http://www.gnu.org/software/libmicrohttpd/"
distfiles="${GNU_SITE}/libmicrohttpd/${pkgname}-${version}.tar.gz"
checksum=bd3e097d703f5091a6a01b56c0464a90fdd17f5d50478cea50a346b25c88db49
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
}
}