forked from alnux/repo
15 lines
468 B
Text
15 lines
468 B
Text
|
wget https://ftp.gnu.org/pub/gnu/ncurses/ncurses-6.2.tar.gz
|
||
|
tar -xf ncurses-6.2.tar.gz
|
||
|
cd ncurses-6.2
|
||
|
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"
|
||
|
echo "INPUT(-lncursesw)" > $1/usr/lib/libncurses.so
|