1
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2024-11-25 00:16:45 +00:00
Lakka-LibreELEC/packages/addons/addon-depends/tntnet/package.mk
2022-07-11 10:34:20 +00:00

40 lines
1.4 KiB
Makefile

# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
# Copyright (C) 2017-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="tntnet"
PKG_VERSION="3.0"
PKG_SHA256="718e5519b0a403f7f766358bf66a85c008119c48189d1c2b7651fd0af9018e27"
PKG_LICENSE="GPL-2"
PKG_SITE="http://www.tntnet.org/"
PKG_URL="http://www.tntnet.org/download/${PKG_NAME}-${PKG_VERSION}.tar.gz"
PKG_DEPENDS_HOST="cxxtools:host zlib:host"
PKG_DEPENDS_TARGET="toolchain tntnet:host libtool cxxtools zlib"
PKG_LONGDESC="A web application server for C++."
PKG_CONFIGURE_OPTS_HOST="--disable-unittest \
--with-server=no \
--with-sdk=yes \
--with-demos=no \
--with-epoll=yes \
--with-ssl=no \
--with-stressjob=no"
PKG_CONFIGURE_OPTS_TARGET="--disable-unittest \
--with-sysroot=${SYSROOT_PREFIX} \
--with-server=no \
--with-sdk=no \
--with-demos=no \
--with-epoll=yes \
--with-ssl=no \
--with-stressjob=no"
post_configure_target() {
libtool_remove_rpath libtool
}
post_makeinstall_target() {
rm -rf ${INSTALL}/usr/bin
rm -rf ${INSTALL}/usr/share
}