blob: e256ffc855aaf7983851ae1c94807c81a3eecb6b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#!/bin/sh
MAKEDEPS="make tcl python"
DEPS="gmp libxcrypt popt slang python tcl"
PKG_VER=0.52.21
SOURCE=https://releases.pagure.org/newt/newt-$PKG_VER.tar.gz
DESC="Not Erik's Windowing Toolkit - text mode windowing with slang"
build () {
sed -e 's/^LIBNEWT =/#&/' \
-e '/install -m 644 $(LIBNEWT)/ s/^/#/' \
-e 's/$(LIBNEWT)/$(LIBNEWTSONAME)/g' \
-i Makefile.in &&
./configure --prefix=/usr \
--with-gpm-support \
--with-python=python3 &&
make
}
package () {
make DESTDIR=$PKG_DEST install
}
|