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
|
2010-01-18 13:03:14 +01:00
|
|
|
# Depends on: ncurses
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
name=nano
|
2010-11-22 17:52:43 +01:00
|
|
|
version=2.2.6
|
2015-01-09 18:59:49 +01:00
|
|
|
release=2
|
2009-12-11 15:37:56 +01:00
|
|
|
source=(http://www.nano-editor.org/dist/v2.2/$name-$version.tar.gz)
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
build(){
|
2009-01-26 18:10:12 +01:00
|
|
|
cd $name-$version
|
|
|
|
./configure --prefix=/usr --disable-nls --mandir=/usr/man
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2015-01-09 18:59:49 +01:00
|
|
|
install -D -m 644 doc/nanorc.sample $PKG/usr/etc/nanorc
|
|
|
|
rm -r $PKG/usr/share/{info,nano/man-html}
|
2006-02-23 15:26:10 +00:00
|
|
|
}
|