talimat 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. # Tanım: Libraries for terminal-independent handling of character screens.
  2. # URL: http://www.gnu.org/software/ncurses/ncurses.html
  3. # Paketçi: milisarge
  4. # Gerekler:
  5. isim=ncurses
  6. surum=6.0
  7. devir=1
  8. kaynak=(ftp://invisible-island.net/ncurses/ncurses-$surum.tar.gz)
  9. derle()
  10. {
  11. cd ncurses-$surum
  12. sed -i '/LIBTOOL_INSTALL/d' c++/Makefile.in
  13. ./configure --prefix=/usr --mandir=/usr/share/man \
  14. -infodir=/usr/share/info --without-normal \
  15. --with-shared --bindir=/bin --sbindir=/sbin \
  16. --libdir=/lib --without-debug --enable-pc-files \
  17. --enable-widec --with-install-prefix=$PKG
  18. make
  19. make install
  20. mkdir -p $PKG/lib
  21. for lib in ncurses form panel menu ; do \
  22. rm -vf $PKG/lib/lib${lib}.so ; \
  23. echo "INPUT(-l${lib}w)" >$PKG/lib/lib${lib}.so ; \
  24. ln -sfv lib${lib}w.a $PKG/lib/lib${lib}.a ; \
  25. done
  26. ln -sfv libncurses++w.a $PKG/lib/libncurses++.a
  27. rm -vf $PKG/usr/lib/libcursesw.so
  28. echo "INPUT(-lncursesw)" >$PKG/lib/libcursesw.so
  29. ln -sfv libncurses.so $PKG/lib/libcurses.so
  30. ln -sfv libncursesw.a $PKG/lib/libcursesw.a
  31. ln -sfv libncurses.a $PKG/lib/libcurses.a
  32. make distclean
  33. ./configure --prefix=/usr --with-shared --without-normal \
  34. --mandir=/usr/share/man --infodir=/usr/share/info \
  35. --bindir=/bin --sbindir=/sbin --libdir=/lib \
  36. --without-debug --without-cxx-binding --with-install-prefix=$PKG
  37. make sources libs
  38. cp -av lib/lib*.so.6* $PKG/lib
  39. rm -rf $PKG/usr/lib/terminfo
  40. mkdir $PKG/lib/ncurses
  41. for DIR in terminfo tabset
  42. do
  43. mv -v $PKG/usr/share/$DIR \
  44. $PKG/lib/ncurses
  45. ln -sv ../../lib/ncurses/$DIR $PKG/usr/share/$DIR
  46. done
  47. }