milis/talimatname/temel/nano/talimat

28 lines
610 B
Plaintext
Raw Normal View History

2017-10-27 21:56:50 +02:00
# Tanım: A simple text editor which aims to replace Pico, the default editor in the Pine package.
2016-02-24 01:27:23 +01:00
# URL: http://www.nano-editor.org/
2017-10-27 21:56:50 +02:00
# Paketçi: milisarge
# Gerekler:
2016-02-24 01:27:23 +01:00
2017-10-28 14:15:02 +02:00
isim=nano
surum=2.5.2
devir=1
2016-02-24 01:27:23 +01:00
2017-10-28 14:15:02 +02:00
kaynak=(http://ftp.gnu.org/gnu/$isim/$isim-$surum.tar.gz)
2016-02-24 01:27:23 +01:00
2017-10-27 23:59:41 +02:00
derle() {
2017-10-28 14:15:02 +02:00
cd $isim-$surum
2016-02-24 01:27:23 +01:00
./configure --prefix=/usr \
--sysconfdir=/etc \
--enable-utf8 \
--enable-color \
--enable-multibuffer \
--enable-nanorc \
2017-10-28 14:15:02 +02:00
--docdir=/usr/share/doc/nano-$surum \
2016-02-24 01:27:23 +01:00
--disable-x
make
make DESTDIR=$PKG install
mkdir -p $PKG/etc/nano
install -v -m644 -D doc/nanorc.sample $PKG/etc/nano/nanorc.sample
rm $PKG/usr/share/info/dir
}