talimat 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. # Tanım: UNIX için programlanabilir zsh komut arayüzü
  2. # URL: http://www.zsh.org
  3. # Paketçi: milisarge
  4. # Gerekler: pcre
  5. # Grup: sistem
  6. isim=zsh
  7. surum=5.4.2
  8. devir=1
  9. kaynak=(http://www.zsh.org/pub/$isim-$surum.tar.gz)
  10. derle(){
  11. cd $isim-$surum
  12. ./configure \
  13. --prefix=/usr \
  14. --enable-etcdir=/etc/zsh \
  15. --enable-zshrc=/etc/zsh/zshrc \
  16. --enable-zlogin=/etc/zsh/zshlogin \
  17. --enable-zshenv=/etc/zsh/zshenv \
  18. --enable-fndir=/usr/share/zsh/$version/functions \
  19. --enable-site-fndir=/usr/share/zsh/site-functions \
  20. --enable-maildir-support \
  21. --enable-function-subdirs \
  22. --enable-pcre \
  23. --enable-restricted-r \
  24. --enable-cap
  25. make
  26. # fix a bug in recent glibc versions (2.16)
  27. sed -e '/#include "attr.mdh"/d;/#include "attr.pro/d' \
  28. -e 's|\(#include <sys/xattr.h>\)|\1\n#include "attr.mdh"\n#include "attr.pro"|g' \
  29. -i Src/Modules/attr.c
  30. make
  31. make DESTDIR=$PKG install
  32. install -d $PKG/bin
  33. ln -s /usr/bin/zsh $PKG/bin
  34. }