eth0s/toolchain/12-ncurses

20 lines
350 B
Text
Raw Normal View History

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