2019-09-28 00:17:56 +08:00
|
|
|
name=ncurses
|
2020-06-12 16:42:33 +08:00
|
|
|
version=6.2
|
2019-09-28 00:17:56 +08:00
|
|
|
source=(http://ftp.gnu.org/gnu/ncurses/ncurses-$version.tar.gz)
|
2018-12-01 00:12:45 +08:00
|
|
|
|
2019-09-28 00:17:56 +08:00
|
|
|
build() {
|
|
|
|
cd $name-$version
|
2018-12-01 00:12:45 +08:00
|
|
|
|
|
|
|
sed -i s/mawk// configure
|
|
|
|
|
2020-07-02 23:33:24 +08:00
|
|
|
./configure \
|
|
|
|
--prefix=/tools \
|
2019-09-28 00:17:56 +08:00
|
|
|
--with-shared \
|
|
|
|
--without-debug \
|
|
|
|
--without-ada \
|
|
|
|
--enable-widec \
|
|
|
|
--enable-overwrite
|
2018-12-01 00:12:45 +08:00
|
|
|
make
|
|
|
|
make install
|
2019-09-28 00:17:56 +08:00
|
|
|
ln -s libncursesw.so /tools/lib/libncurses.so
|
|
|
|
}
|