Merge pull request 'previous pr' (#24) from Ohio2/repo:master into master

Reviewed-on: alnux/repo#24
This commit is contained in:
hippoz 2021-07-14 16:06:01 +01:00
commit e3a10be411
2 changed files with 43 additions and 6 deletions

View file

@ -9,10 +9,47 @@ pushd build
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
./configure --prefix=/usr --build=$(./config.guess) --mandir=/usr/share/man --with-manpage-format=normal --with-shared --without-debug --without-ada --without-normal --enable-widec --with-pkg-config-libdir=/usr/lib/ncurses//lib/pkgconfig
make
make install DESTDIR="$1"
cp libncursesw.so /lib/libncursesw.so
ln -s /lib/libncursesw.so /lib/libncurses.so
make DESTDIR="$1" install
ln -s $1/usr/lib/ncurses/bin/captoinfo $1/usr/bin/
ln -s $1/usr/lib/ncurses/bin/clear $1/usr/bin/
ln -s $1/usr/lib/ncurses/bin/infocmp $1/usr/bin/
ln -s $1/usr/lib/ncurses/bin/infotocap $1/usr/bin/
ln -s $1/usr/lib/ncurses/bin/ncurses6-config $1/usr/bin/
ln -s $1/usr/lib/ncurses/bin/reset $1/usr/bin/
ln -s $1/usr/lib/ncurses/bin/tabs $1/usr/bin/
ln -s $1/usr/lib/ncurses/bin/tic $1/usr/bin/
ln -s $1/usr/lib/ncurses/bin/toe $1/usr/bin/
ln -s $1/usr/lib/ncurses/bin/tput $1/usr/bin/
ln -s $1/usr/lib/ncurses/bin/tset $1/usr/bin/
ln -s $1/usr/lib/ncurses/include/ncurses $1/usr/include
ln -s $1/usr/lib/ncurses/lib/libform.a $1/usr/lib/
ln -s $1/usr/lib/ncurses/lib/libform_g.a $1/usr/lib/
ln -s $1/usr/lib/ncurses/lib/libform.so $1/usr/lib/
ln -s $1/usr/lib/ncurses/lib/libform.so.6 $1/usr/lib/
ln -s $1/usr/lib/ncurses/lib/libform.so.6.1 $1/usr/lib/
ln -s $1/usr/lib/ncurses/lib/libmenu.a $1/usr/lib/
ln -s $1/usr/lib/ncurses/lib/libmenu_g.a $1/usr/lib/
ln -s $1/usr/lib/ncurses/lib/libmenu.so $1/usr/lib/
ln -s $1/usr/lib/ncurses/lib/libmenu.so.6 $1/usr/lib/
ln -s $1/usr/lib/ncurses/lib/libmenu.so.6.1 $1/usr/lib/
ln -s $1/usr/lib/ncurses/lib/libncurses++.a $1/usr/lib/
ln -s $1/usr/lib/ncurses/lib/libncurses.a $1/usr/lib/
ln -s $1/usr/lib/ncurses/lib/libncurses++_g.a $1/usr/lib/
ln -s $1/usr/lib/ncurses/lib/libncurses_g.a $1/usr/lib/
ln -s $1/usr/lib/ncurses/lib/libncurses.so $1/usr/lib/
ln -s $1/usr/lib/ncurses/lib/libncurses.so.6 $1/usr/lib/
ln -s $1/usr/lib/ncurses/lib/libncurses.so.6.1 $1/usr/lib/
ln -s $1/usr/lib/ncurses/lib/libpanel.a $1/usr/lib/
ln -s $1/usr/lib/ncurses/lib/libpanel_g.a $1/usr/lib/
ln -s $1/usr/lib/ncurses/lib/libpanel.so $1/usr/lib/
ln -s $1/usr/lib/ncurses/lib/libpanel.so.6 $1/usr/lib/
ln -s $1/usr/lib/ncurses/lib/libpanel.so.6.1 $1/usr/lib/
ln -s $1/usr/lib/ncurses/lib/terminfo $1/usr/lib/
ln -s $1/usr/lib/ncurses/lib/pkgconfig/form.pc $1/usr/lib/pkgconfig/
ln -s $1/usr/lib/ncurses/lib/pkgconfig/menu.pc $1/usr/lib/pkgconfig/
ln -s $1/usr/lib/ncurses/lib/pkgconfig/ncurses++.pc $1/usr/lib/pkgconfig/
ln -s $1/usr/lib/ncurses/lib/pkgconfig/ncurses.pc $1/usr/lib/pkgconfig/
ln -s $1/usr/lib/ncurses/lib/pkgconfig/panel.pc $1/usr/lib/pkgconfig/
echo "INPUT(-lncursesw)" > $1/usr/lib/libncurses.so

View file

@ -8,5 +8,5 @@ HELP2MAN=/tools/bin/true ./configure --prefix=/usr --docdir=/usr/share/doc/flex-
make
make check
make install DESTDIR="$1"
ln -sv flex $1/usr/bin/lex
ln -sv flex /usr/bin/lex