Date: Tuesday, March 17, 2020 @ 22:35:31 Author: anthraxx Revision: 377823
community2extra: Moving libmicrohttpd from community to extra Added: libmicrohttpd/ libmicrohttpd/repos/ libmicrohttpd/trunk/ libmicrohttpd/trunk/PKGBUILD ----------+ PKGBUILD | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) Added: libmicrohttpd/trunk/PKGBUILD =================================================================== --- libmicrohttpd/trunk/PKGBUILD (rev 0) +++ libmicrohttpd/trunk/PKGBUILD 2020-03-17 22:35:31 UTC (rev 377823) @@ -0,0 +1,44 @@ +# Maintainer: Sergej Pupykin <[email protected]> +# Maintainer: Norberto Lopes <[email protected]> +# Contributor: Kao Dome <[email protected]> +# Contributor: Dmitrij D. Czarkoff <[email protected]> +# Contributor: Mathias Rohnstock <[email protected]> + +pkgname=libmicrohttpd +pkgver=0.9.70 +pkgrel=1 +pkgdesc="a small C library that is supposed to make it easy to run an HTTP server as part of another application." +arch=('x86_64') +url="https://www.gnu.org/software/libmicrohttpd/" +license=('LGPL') +depends=('gnutls') +checkdepends=('curl') +validpgpkeys=('EA812DBEFA5A7EF17DA8F2C1460A317C3326D2AE' # Evgeny Grin (Karlson2k) <[email protected]> + 'D8423BCB326C7907033929C7939E6BE1E29FC3CC') # Christian Grothoff <[email protected]> +source=("https://ftp.gnu.org/gnu/libmicrohttpd/$pkgname-$pkgver.tar.gz"{,.sig}) +sha256sums=('90d0a3d396f96f9bc41eb0f7e8187796049285fabef82604acd4879590977307' + 'SKIP') + +build() { + cd ${pkgname}-${pkgver} + ./configure \ + --prefix=/usr \ + --disable-dependency-tracking \ + --disable-examples \ + --enable-curl \ + --enable-https \ + --enable-largefile \ + --enable-messages \ + --with-pic + make +} + +check() { + cd ${pkgname}-${pkgver} + make check +} + +package() { + cd ${pkgname}-${pkgver} + make DESTDIR="$pkgdir" install +}
