void-packages/srcpkgs/libmicrohttpd/template

30 lines
889 B
Bash

# Template file for 'libmicrohttpd'
pkgname=libmicrohttpd
version=0.9.77
revision=2
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=9e7023a151120060d2806a6ea4c13ca9933ece4eacfc5c9464d20edddb76b0a0
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
}
}