1
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2024-11-22 02:16:19 +00:00
Lakka-LibreELEC/packages/tools/newt/package.mk
2022-11-30 09:29:48 +00:00

29 lines
846 B
Makefile

# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="newt"
PKG_VERSION="0.52.23"
PKG_SHA256="caa372907b14ececfe298f0d512a62f41d33b290610244a58aed07bbc5ada12a"
PKG_LICENSE="GPL"
PKG_SITE="https://pagure.io/newt"
PKG_URL="https://releases.pagure.org/newt/${PKG_NAME}-${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain slang popt"
PKG_LONGDESC="Newt is a programming library for color text mode, widget based user interfaces."
PKG_TOOLCHAIN="autotools"
PKG_CONFIGURE_OPTS_TARGET="--disable-nls \
--without-python \
--without-tcl"
pre_configure_target() {
# newt fails to build in subdirs
cd ${PKG_BUILD}
rm -rf .${TARGET_NAME}
}
pre_configure_host() {
# newt fails to build in subdirs
cd ${PKG_BUILD}
rm -rf .${HOST_NAME}
}