2022-02-05 14:23:32 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
|
|
|
|
|
|
|
PKG_NAME="newt"
|
2023-11-13 22:18:49 +00:00
|
|
|
PKG_VERSION="0.52.24"
|
2022-02-05 14:23:32 +00:00
|
|
|
PKG_LICENSE="GPL"
|
|
|
|
PKG_SITE="https://pagure.io/newt"
|
2023-02-24 13:53:43 +00:00
|
|
|
PKG_URL="https://releases.pagure.org/newt/${PKG_NAME}-${PKG_VERSION}.tar.gz"
|
2022-02-05 14:23:32 +00:00
|
|
|
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
|
2023-02-24 13:53:43 +00:00
|
|
|
cd ${PKG_BUILD}
|
|
|
|
rm -rf .${TARGET_NAME}
|
2022-02-05 14:23:32 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
pre_configure_host() {
|
|
|
|
# newt fails to build in subdirs
|
2023-02-24 13:53:43 +00:00
|
|
|
cd ${PKG_BUILD}
|
|
|
|
rm -rf .${HOST_NAME}
|
2022-02-05 14:23:32 +00:00
|
|
|
}
|