void-packages/srcpkgs/libmicrohttpd/template
Morgan Thomas a6f4c6166b libmicrohttpd: update to 0.9.73.
This update breaks some C++ implementations (see [1] and
05ed2cb76b).

All packages that depend on libmicrohttpd have been checked; all but two
(psensor and retroshare) build against libmicrohttpd >= 0.9.71 by now,
and those two are easy enough to patch.

The relevant change is just switching some API return types from `int`
to an enum with the same values, so there isn't any concern about ABI
compatibility with the change (and in fact it's only a warning on a C
compiler).

[1] https://github.com/kismetwireless/kismet/issues/281
2021-06-08 00:51:49 -03:00

27 lines
772 B
Bash

# Template file for 'libmicrohttpd'
pkgname=libmicrohttpd
version=0.9.73
revision=1
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=a37b2f1b88fd1bfe74109586be463a434d34e773530fc2a74364cfcf734c032e
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
}
}