mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-18 07:02:29 +01:00
48 lines
1.5 KiB
Plaintext
48 lines
1.5 KiB
Plaintext
# Contributor: Leo <thinkabit.ukim@gmail.com>
|
|
# Contributor: Łukasz Jendrysik <scadu@yandex.com>
|
|
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
|
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=libmicrohttpd
|
|
pkgver=0.9.63
|
|
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="https://www.gnu.org/software/libmicrohttpd/"
|
|
arch="all"
|
|
license="LGPL-2.1-or-later"
|
|
makedepends="curl-dev libgcrypt-dev gnutls-dev automake autoconf libtool"
|
|
subpackages="$pkgname-dev $pkgname-doc"
|
|
source="http://ftp.gnu.org/gnu/libmicrohttpd/$pkgname-$pkgver.tar.gz
|
|
disable-test_options.patch"
|
|
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
|
|
}
|
|
|
|
check() {
|
|
cd "$builddir"
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
make DESTDIR="$pkgdir" install
|
|
install -Dm644 "$builddir"/src/include/platform.h \
|
|
"$pkgdir"/usr/include/platform.h
|
|
}
|
|
|
|
sha512sums="cb99e7af84fb6d7c0fd3894a9dc0fbff14959b35347506bd3211a65bbfad36455007b9e67493e97c9d8394834408df10eeabdc7758573e6aae0ba6f5f87afe17 libmicrohttpd-0.9.63.tar.gz
|
|
7bbd8d2571f2bf7d06c956cc5e5decf154139baa1a716b43501b822b18a396b2cc97efd72118bc3dd5e20439611eb333730c436fe9f0a1ce2cf928066520e619 disable-test_options.patch"
|