28 lines
791 B
Bash
28 lines
791 B
Bash
# Template file for 'libmicrohttpd'
|
|
pkgname=libmicrohttpd
|
|
version=0.9.70
|
|
reverts="0.9.71_1"
|
|
revision=2
|
|
build_style=gnu-configure
|
|
makedepends="libgcrypt-devel gnutls-devel libcurl-devel"
|
|
short_desc="Library embedding HTTP server functionality"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="https://www.gnu.org/software/libmicrohttpd/"
|
|
distfiles="${GNU_SITE}/libmicrohttpd/${pkgname}-${version}.tar.gz"
|
|
checksum=90d0a3d396f96f9bc41eb0f7e8187796049285fabef82604acd4879590977307
|
|
|
|
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
|
|
}
|
|
}
|