# Contributor: Ɓukasz Jendrysik # Contributor: Carlo Landmeter # Maintainer: Natanael Copa pkgname=libmicrohttpd pkgver=0.9.53 pkgrel=0 pkgdesc="a small C library that is supposed to make it easy to run an HTTP server as part of another application." url="http://www.gnu.org/software/libmicrohttpd/" arch="all" license="GPL" makedepends="curl-dev libgcrypt-dev gnutls-dev" options="!check" subpackages="$pkgname-dev $pkgname-doc" source="ftp://ftp.gnu.org/gnu/libmicrohttpd/$pkgname-$pkgver.tar.gz" builddir="$srcdir"/$pkgname-$pkgver build() { cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --enable-largefile \ --enable-curl \ --enable-https \ --enable-messages make } package() { cd "$builddir" make DESTDIR="$pkgdir" install install -Dm644 "$builddir"/src/include/platform.h \ "$pkgdir"/usr/include/platform.h } sha512sums="2e29595c980cdcf12c1cead62f8938cc32e8c93d3a848e7473c5d5f596c6b6858732df0a3293b93d89577e5a325a62fe82adf3921a76d7184a647489364d7e2c libmicrohttpd-0.9.53.tar.gz"