Files
Arch-R/packages/web/libmicrohttpd/package.mk
2018-07-18 22:37:47 +02:00

25 lines
960 B
Makefile

# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
PKG_NAME="libmicrohttpd"
PKG_VERSION="0.9.55"
PKG_SHA256="0c1cab8dc9f2588bd3076a28f77a7f8de9560cbf2d80e53f9a8696ada80ed0f8"
PKG_ARCH="any"
PKG_LICENSE="LGPLv2.1"
PKG_SITE="http://www.gnu.org/software/libmicrohttpd/"
PKG_URL="http://ftpmirror.gnu.org/libmicrohttpd/$PKG_NAME-$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain"
PKG_SECTION="web"
PKG_SHORTDESC="libmicrohttpd: a small webserver C library"
PKG_LONGDESC="GNU libmicrohttpd is a small C library that is supposed to make it easy to run an HTTP server as part of another application."
PKG_CONFIGURE_OPTS_TARGET="--disable-shared \
--enable-static \
--disable-curl \
--disable-https \
--with-libgcrypt-prefix=$SYSROOT_PREFIX/usr"
post_makeinstall_target() {
rm -rf $INSTALL/usr/bin
}