void-packages/srcpkgs/libmicrohttpd/template

25 lines
730 B
Bash

# Template file for 'libmicrohttpd'
pkgname=libmicrohttpd
version=0.9.40
revision=1
build_style=gnu-configure
makedepends="libgcrypt-devel gnutls-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=403d4d46a8690ad8382bd9f156be3eaf4e80869a75b39f03d48bbcb124c7b7a6
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
}
}