void-packages/srcpkgs/libmicrohttpd/template

30 lines
888 B
Bash

# Template file for 'libmicrohttpd'
pkgname=libmicrohttpd
version=1.0.1
revision=1
build_style=gnu-configure
configure_args="
--enable-https
--enable-messages"
makedepends="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/"
changelog="https://git.gnunet.org/libmicrohttpd.git/plain/ChangeLog?h=v${version}"
distfiles="${GNU_SITE}/libmicrohttpd/libmicrohttpd-${version}.tar.gz"
checksum=a89e09fc9b4de34dde19f4fcb4faaa1ce10299b9908db1132bbfa1de47882b94
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
}
}