forked from alnux/repo
16 lines
551 B
Text
Executable file
16 lines
551 B
Text
Executable file
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"
|
|
cp libncursesw.so /lib/libncursesw.so
|
|
ln -s /lib/libncursesw.so /lib/libncurses.so
|
|
echo "INPUT(-lncursesw)" > $1/usr/lib/libncurses.so
|