mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-08 10:12:59 +01:00
Since abuild v2.22.0, these are removed automatically unless 'libtool' option has been specified.
51 lines
1.4 KiB
Plaintext
51 lines
1.4 KiB
Plaintext
# Contributor: Łukasz Jendrysik <scadu@yandex.com>
|
|
# Contributor: Carlo Landmeter
|
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=libmicrohttpd
|
|
pkgver=0.9.42
|
|
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"
|
|
depends=
|
|
makedepends="curl-dev libgcrypt-dev"
|
|
install=
|
|
subpackages="$pkgname-dev $pkgname-doc"
|
|
source="ftp://ftp.gnu.org/gnu/libmicrohttpd/$pkgname-$pkgver.tar.gz"
|
|
|
|
_builddir="$srcdir"/$pkgname-$pkgver
|
|
|
|
prepare() {
|
|
cd "$_builddir"
|
|
# apply patches here
|
|
}
|
|
|
|
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-messages \
|
|
|| return 1
|
|
|
|
make || return 1
|
|
}
|
|
|
|
package() {
|
|
cd "$_builddir"
|
|
make DESTDIR="$pkgdir" install || return 1
|
|
install -Dm644 "$_builddir"/src/include/platform.h \
|
|
"$pkgdir"/usr/include/platform.h
|
|
}
|
|
|
|
md5sums="3b9cf0b67fc8ebc9e69f53c6bc84a88d libmicrohttpd-0.9.42.tar.gz"
|
|
sha256sums="00352073367003da40607319e4090a6a8308748b59246ae80e9871f34dad7d5b libmicrohttpd-0.9.42.tar.gz"
|
|
sha512sums="6516f545a5b81aa23bb0d22582f6d7e7f028069d94e0d33d9d6f929e111a3c0e0432eb43b26b4eec87860e8b9f50de38f1b5e6e20cd8faf30512e4891f29b9f3 libmicrohttpd-0.9.42.tar.gz"
|