2006-02-23 16:26:10 +01:00
|
|
|
# Description: GNU pico clone (a tiny text editor)
|
2020-06-06 13:00:05 +02:00
|
|
|
# URL: https://www.nano-editor.org
|
2011-02-02 13:44:37 +01:00
|
|
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
2020-03-24 12:50:03 +01:00
|
|
|
# Depends on: file ncurses bzip2 xz
|
2006-02-23 16:26:10 +01:00
|
|
|
|
|
|
|
name=nano
|
2020-05-24 12:05:50 +02:00
|
|
|
version=4.9.3
|
2015-12-06 18:23:19 +01:00
|
|
|
release=1
|
2020-06-06 13:00:05 +02:00
|
|
|
source=(https://www.nano-editor.org/dist/v${version%%.*}/$name-$version.tar.xz)
|
2006-02-23 16:26:10 +01:00
|
|
|
|
|
|
|
build(){
|
2009-01-26 18:10:12 +01:00
|
|
|
cd $name-$version
|
2015-12-05 14:07:53 +01:00
|
|
|
./configure --prefix=/usr --disable-nls
|
2009-01-26 18:10:12 +01:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2017-01-15 17:34:29 +01:00
|
|
|
install -D -m 644 doc/sample.nanorc $PKG/usr/etc/nanorc
|
|
|
|
rm -r $PKG/usr/share/{doc,info}
|
2006-02-23 16:26:10 +01:00
|
|
|
}
|