blob: 55e5eaa345be206ea7059bcafbbda487623fba27 (
plain)
1 # Description: a programming library for color text mode
2 # URL: https://pagure.io/newt
3 # Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
4 # Depends on: libnewt popt-32 slang-32 tcl-32
5
6 name=libnewt-32
7 version=0.52.23
8 release=1
9 source=(https://releases.pagure.org/newt/newt-$version.tar.gz)
10
11 build() {
12 cd newt-$version
13
14 sed -i "s:tcl8.4:tcl8.6:" Makefile.in
15 echo '#define USE_INTERP_RESULT 1' >> config.h
16
17 ./autogen.sh
18 ./configure \
19 --prefix=/usr \
20 --libdir=/usr/lib32 \
21 --without-python \
22 --disable-nls
23
24 make
25 make DESTDIR=$PKG install
26
27 rm -r $PKG/usr/{bin,include,share}
28 }
|