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
|
2015-03-25 13:03:00 +01:00
|
|
|
version=2.4.0
|
|
|
|
release=1
|
|
|
|
source=(http://www.nano-editor.org/dist/v2.4/$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
|
2015-03-25 13:03:00 +01:00
|
|
|
rm -r $PKG/usr/share/doc
|
2006-02-23 15:26:10 +00:00
|
|
|
}
|