Rebuild without tcl

This commit is contained in:
2026-02-26 14:28:16 +02:00
parent d0719f621c
commit dacd4d5595
2 changed files with 18 additions and 14 deletions
+17 -3
View File
@@ -1,10 +1,24 @@
name: newt name: newt
description: A library for text mode user interfaces description: A library for text mode user interfaces
version: 0.52.25 version: 0.52.25
revision: 2
url: https://pagure.io/newt url: https://pagure.io/newt
license: LGPL2-only license: LGPL2-only
maintainers:
- [email protected]
architecture: any architecture: any
depends: ["glibc","gpm","popt","slang"]
optional_depends: ["python3","tcl"]
make_depends: ["python3","tcl"]
type: source type: source
depends:
- glibc
- gpm
- popt
- slang
optional_depends:
- python3
make_depends:
- python3
downloads:
- url: https://releases.pagure.org/newt/newt-${BPM_PKG_VERSION}.tar.gz
extract_to: ${BPM_SOURCE}
extract_strip_components: 1
checksum: ef0ca9ee27850d1a5c863bb7ff9aa08096c9ed312ece9087b30f3a426828de82
+1 -11
View File
@@ -2,20 +2,10 @@
# BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE # BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE
# BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT # BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT
DOWNLOAD="https://releases.pagure.org/newt/newt-${BPM_PKG_VERSION}.tar.gz"
FILENAME="${DOWNLOAD##*/}"
# The prepare function is executed in the root of the temp directory
# This function is used for downloading files and putting them into the correct location
prepare() {
wget "$DOWNLOAD"
tar -xvf "$FILENAME" --strip-components=1 -C "$BPM_SOURCE"
}
# The build function is executed in the source directory # The build function is executed in the source directory
# This function is used to compile the source code # This function is used to compile the source code
build() { build() {
./configure --prefix=/usr --with-gpm-support ./configure --prefix=/usr --with-gpm-support --without-tcl
make make
} }