repo/curses-lib/build

19 lines
553 B
Text
Raw Normal View History

2021-07-12 23:34:41 +03:00
wget https://ftp.gnu.org/pub/gnu/ncurses/ncurses-6.2.tar.gz
tar -xf ncurses-6.2.tar.gz
cd ncurses-6.2
2021-07-12 23:34:41 +03:00
sed -i s/mawk// configure
mkdir build
pushd build
../configure
make -C include
make -C progs tic
popd
./configure --prefix=/usr --build=$(./config.guess) --mandir=/usr/share/man --with-manpage-format=normal --with-shared --without-debug --without-ada --without-normal --enable-widec
make
make install DESTDIR="$1"
cp libncursesw.so /lib/libncursesw.so
ln -s /lib/libncursesw.so /lib/libncurses.so
2021-07-12 23:34:41 +03:00
echo "INPUT(-lncursesw)" > $1/usr/lib/libncurses.so