eth0s/toolchain/09-ncurses
2021-04-18 08:19:42 +08:00

20 lines
354 B
Text
Executable file

name=ncurses
version=6.2
source="http://ftp.gnu.org/gnu/ncurses/ncurses-$version.tar.gz"
build() {
cd $name-$version
sed -i s/mawk// configure
./configure \
--prefix=/tools \
--with-shared \
--without-debug \
--without-ada \
--enable-widec \
--enable-overwrite
make
make install
ln -s libncursesw.so /tools/lib/libncurses.so
}