26 lines
772 B
Bash
26 lines
772 B
Bash
# Template file for 'libmicrohttpd'
|
|
pkgname=libmicrohttpd
|
|
version=0.9.65
|
|
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.org>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="https://www.gnu.org/software/libmicrohttpd/"
|
|
distfiles="${GNU_SITE}/libmicrohttpd/${pkgname}-${version}.tar.gz"
|
|
checksum=f2467959c5dd5f7fdf8da8d260286e7be914d18c99b898e22a70dafd2237b3c9
|
|
|
|
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
|
|
}
|
|
}
|