2022-02-05 14:23:32 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
|
|
|
|
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
|
|
|
|
|
|
|
PKG_NAME="slang"
|
2022-11-01 10:04:06 +00:00
|
|
|
PKG_VERSION="2.3.3"
|
|
|
|
PKG_SHA256="f9145054ae131973c61208ea82486d5dd10e3c5cdad23b7c4a0617743c8f5a18"
|
2022-02-05 14:23:32 +00:00
|
|
|
PKG_LICENSE="GPL"
|
|
|
|
PKG_SITE="http://www.jedsoft.org/slang/"
|
|
|
|
PKG_URL="https://www.jedsoft.org/releases/slang/${PKG_NAME}-${PKG_VERSION}.tar.bz2"
|
2022-11-01 10:04:06 +00:00
|
|
|
PKG_DEPENDS_TARGET="toolchain pcre"
|
2022-02-05 14:23:32 +00:00
|
|
|
PKG_LONGDESC="A library designed to allow a developer to create robust multi-platform software."
|
|
|
|
PKG_BUILD_FLAGS="-parallel"
|
|
|
|
|
|
|
|
PKG_CONFIGURE_OPTS_TARGET="--without-onig"
|
|
|
|
|
|
|
|
pre_configure_target() {
|
|
|
|
# slang fails to build in subdirs
|
|
|
|
cd ${PKG_BUILD}
|
2022-11-01 10:04:06 +00:00
|
|
|
sed -i 's|RPATH=".*"|RPATH=""|' configure
|
2022-02-05 14:23:32 +00:00
|
|
|
rm -rf .${TARGET_NAME}
|
|
|
|
}
|
|
|
|
|
|
|
|
pre_configure_host() {
|
|
|
|
# slang fails to build in subdirs
|
|
|
|
cd ${PKG_BUILD}
|
|
|
|
rm -rf .${HOST_NAME}
|
|
|
|
}
|