2006-02-23 15:26:10 +00:00
|
|
|
# Description: GNU pico clone (a tiny text editor)
|
2009-01-26 18:10:12 +01:00
|
|
|
# URL: http://www.nano-editor.org
|
2011-02-02 13:44:37 +01:00
|
|
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
2015-12-05 14:07:53 +01:00
|
|
|
# Depends on: file ncurses
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
name=nano
|
2019-10-05 13:07:23 +02:00
|
|
|
version=4.5
|
2015-12-06 18:23:19 +01:00
|
|
|
release=1
|
2017-11-18 19:15:17 +01:00
|
|
|
source=(http://www.nano-editor.org/dist/v${version%.*}/$name-$version.tar.xz)
|
2006-02-23 15:26:10 +00: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 15:26:10 +00:00
|
|
|
}
|