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
|
|
|
|
|
|
|
|
|
name=nano
|
|
|
|
|
version=2.5.2
|
|
|
|
|
release=1
|
|
|
|
|
|
|
|
|
|
source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz)
|
|
|
|
|
|
|
|
|
|
build() {
|
|
|
|
|
cd $name-$version
|
|
|
|
|
./configure --prefix=/usr \
|
|
|
|
|
--sysconfdir=/etc \
|
|
|
|
|
--enable-utf8 \
|
|
|
|
|
--enable-color \
|
|
|
|
|
--enable-multibuffer \
|
|
|
|
|
--enable-nanorc \
|
|
|
|
|
--docdir=/usr/share/doc/nano-$version \
|
|
|
|
|
--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
|
|
|
|
|
}
|