Lakka-LibreELEC/packages/web/libmicrohttpd/package.mk
2024-11-24 09:41:54 +01:00

22 lines
902 B
Makefile

# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="libmicrohttpd"
PKG_VERSION="1.0.1"
PKG_SHA256="a89e09fc9b4de34dde19f4fcb4faaa1ce10299b9908db1132bbfa1de47882b94"
PKG_LICENSE="LGPLv2.1"
PKG_SITE="https://www.gnu.org/software/libmicrohttpd/"
PKG_URL="https://ftpmirror.gnu.org/libmicrohttpd/${PKG_NAME}-${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain gnutls"
PKG_LONGDESC="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="--enable-shared \
--disable-static \
--disable-examples \
--disable-curl \
--enable-https"
post_makeinstall_target() {
rm -rf ${INSTALL}/usr/bin
}