mirror of
https://github.com/Linux4Yourself/book.git
synced 2025-02-12 23:19:05 +08:00
13 lines
573 B
Plaintext
13 lines
573 B
Plaintext
|
make DESTDIR=$PWD/DESTDIR install
|
||
|
mkdir -p DESTDIR/usr/lib32/pkgconfig
|
||
|
for lib in ncurses form panel menu ; do
|
||
|
rm -vf DESTDIR/usr/lib32/lib${lib}.so
|
||
|
echo "INPUT(-l${lib}w)" > DESTDIR/usr/lib32/lib${lib}.so
|
||
|
ln -svf ${lib}w.pc DESTDIR/usr/lib32/pkgconfig/$lib.pc
|
||
|
done
|
||
|
rm -vf DESTDIR/usr/lib32/libcursesw.so
|
||
|
echo "INPUT(-lncursesw)" > DESTDIR/usr/lib32/libcursesw.so
|
||
|
ln -sfv libncurses.so DESTDIR/usr/lib32/libcurses.so
|
||
|
rm -fv DESTDIR/usr/lib32/libncurses++w.a
|
||
|
cp -Rv DESTDIR/usr/lib32/* /usr/lib32
|
||
|
rm -rf DESTDIR
|