pakur.sh 576 B

1234567891011121314151617
  1. make DESTDIR=${PKG} install
  2. for lib in ncurses ncurses++ form panel menu; do
  3. echo "INPUT(-l${lib}w)" > "$PKG"/usr/lib/lib${lib}.so
  4. ln -s ${lib}w.pc ${PKG}/usr/lib/pkgconfig/${lib}.pc
  5. done
  6. for lib in tic tinfo; do
  7. echo "INPUT(libncursesw.so.${surum:0:1})" > "$PKG/usr/lib/lib${lib}.so"
  8. ln -s libncursesw.so.${surum:0:1} "$PKG/usr/lib/lib${lib}.so.${surum:0:1}"
  9. ln -s ncursesw.pc "$PKG/usr/lib/pkgconfig/${lib}.pc"
  10. done
  11. # -lcurses i baz alan derlemeler için ayar
  12. echo "INPUT(-lncursesw)" >"${PKG}/usr/lib/libcursesw.so"
  13. ln -sf libncurses.so ${PKG}/usr/lib/libcurses.so