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
|
2009-01-26 18:10:12 +01:00
|
|
|
# Packager: Simone Rota, sip 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
|
2016-08-12 17:45:28 +02:00
|
|
|
version=2.6.3
|
2015-12-06 18:23:19 +01:00
|
|
|
release=1
|
2016-06-27 19:01:29 +02:00
|
|
|
source=(http://www.nano-editor.org/dist/v2.6/$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
|
2015-01-09 18:59:49 +01:00
|
|
|
install -D -m 644 doc/nanorc.sample $PKG/usr/etc/nanorc
|
2015-03-25 13:03:00 +01:00
|
|
|
rm -r $PKG/usr/share/doc
|
2006-02-23 15:26:10 +00:00
|
|
|
}
|