1
0
forked from ports/opt
opt/nano/Pkgfile

19 lines
526 B
Plaintext
Raw Normal View History

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
# Maintainer: Juergen Daubert, juergen dot daubert at t-online dot de
# Packager: Simone Rota, sip at crux dot nu
2006-02-23 15:26:10 +00:00
name=nano
2009-12-14 10:06:27 +01:00
version=2.2.1
2006-02-23 15:26:10 +00:00
release=1
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
rm -r $PKG/usr/share
rm $PKG/usr/bin/rnano $PKG/usr/man/man1/rnano.1
2006-02-23 15:26:10 +00:00
}