CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
icu: initial import (verified compilation).
[attic/ports/opt-cross.git] / nano / Pkgfile
CommitLineData
4c11f370
VM
1# Description: GNU pico clone (a tiny text editor)
2# URL: http://www.nano-editor.org
3# Maintainer: Juergen Daubert, juergen dot daubert at t-online dot de
4# Packager: Simone Rota, sip at crux dot nu
5# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
6
7name=nano
8version=2.2.5
9release=1
10source=(http://www.nano-editor.org/dist/v2.2/$name-$version.tar.gz)
11
12build(){
13 cd $name-$version
14 ./configure --build=$CHOST \
15 --host=$CTARGET \
16 --prefix=/usr \
17 --disable-nls \
18 --mandir=/usr/man
19 find -type f -name 'Makefile' \
20 -exec sed -e "s|-I/usr|-I$CLFS/usr|g" -i {} \;
21 make
22 make DESTDIR=$PKG install
23 rm -r $PKG/usr/share
24 rm $PKG/usr/bin/rnano $PKG/usr/man/man1/rnano.1
25}