void-packages/srcpkgs/libmicrohttpd/template

31 lines
868 B
Bash

# Template file for 'libmicrohttpd'
pkgname=libmicrohttpd
version=0.9.76
revision=2
build_style=gnu-configure
configure_args="
--enable-largefile
--enable-https
--enable-messages"
hostmakedepends="texinfo"
makedepends="libgcrypt-devel gnutls-devel"
checkdepends="libcurl-devel"
short_desc="Library embedding HTTP server functionality"
maintainer="Duncaen <Duncaen@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="https://www.gnu.org/software/libmicrohttpd/"
distfiles="${GNU_SITE}/libmicrohttpd/libmicrohttpd-${version}.tar.gz"
checksum=f0b1547b5a42a6c0f724e8e1c1cb5ce9c4c35fb495e7d780b9930d35011ceb4c
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
}
}