talimat 610 B

12345678910111213141516171819202122232425262728
  1. # Tanım: A simple text editor which aims to replace Pico, the default editor in the Pine package.
  2. # URL: http://www.nano-editor.org/
  3. # Paketçi: milisarge
  4. # Gerekler:
  5. isim=nano
  6. surum=2.5.2
  7. devir=1
  8. kaynak=(http://ftp.gnu.org/gnu/$isim/$isim-$surum.tar.gz)
  9. derle() {
  10. cd $isim-$surum
  11. ./configure --prefix=/usr \
  12. --sysconfdir=/etc \
  13. --enable-utf8 \
  14. --enable-color \
  15. --enable-multibuffer \
  16. --enable-nanorc \
  17. --docdir=/usr/share/doc/nano-$surum \
  18. --disable-x
  19. make
  20. make DESTDIR=$PKG install
  21. mkdir -p $PKG/etc/nano
  22. install -v -m644 -D doc/nanorc.sample $PKG/etc/nano/nanorc.sample
  23. rm $PKG/usr/share/info/dir
  24. }