29 lines
604 B
Plaintext
29 lines
604 B
Plaintext
|
# Description: a programming library for color text mode
|
||
|
# URL: https://pagure.io/newt
|
||
|
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
|
||
|
# Depends on: libnewt popt-32 slang-32 tcl-32
|
||
|
|
||
|
name=libnewt-32
|
||
|
version=0.52.21
|
||
|
release=1
|
||
|
source=(https://releases.pagure.org/newt/newt-$version.tar.gz)
|
||
|
|
||
|
build() {
|
||
|
cd newt-$version
|
||
|
|
||
|
sed -i "s:tcl8.4:tcl8.6:" Makefile.in
|
||
|
echo '#define USE_INTERP_RESULT 1' >> config.h
|
||
|
|
||
|
./autogen.sh
|
||
|
./configure \
|
||
|
--prefix=/usr \
|
||
|
--libdir=/usr/lib32 \
|
||
|
--without-python \
|
||
|
--disable-nls
|
||
|
|
||
|
make
|
||
|
make DESTDIR=$PKG install
|
||
|
|
||
|
rm -r $PKG/usr/{bin,include,share}
|
||
|
}
|