From 4c11f3705d7e4a2a6f4899584e6f66414bc9f6f6 Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Wed, 29 Sep 2010 07:47:34 +0000 Subject: [PATCH] nano: initial import (verified compilation). --- nano/.footprint | 8 ++++++++ nano/.md5sum | 1 + nano/Pkgfile | 25 +++++++++++++++++++++++++ 3 files changed, 34 insertions(+) create mode 100644 nano/.footprint create mode 100644 nano/.md5sum create mode 100644 nano/Pkgfile diff --git a/nano/.footprint b/nano/.footprint new file mode 100644 index 0000000..60259dc --- /dev/null +++ b/nano/.footprint @@ -0,0 +1,8 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/nano +drwxr-xr-x root/root usr/man/ +drwxr-xr-x root/root usr/man/man1/ +-rw-r--r-- root/root usr/man/man1/nano.1.gz +drwxr-xr-x root/root usr/man/man5/ +-rw-r--r-- root/root usr/man/man5/nanorc.5.gz diff --git a/nano/.md5sum b/nano/.md5sum new file mode 100644 index 0000000..c335908 --- /dev/null +++ b/nano/.md5sum @@ -0,0 +1 @@ +77a10a49589f975ce98350a4527a2ebf nano-2.2.5.tar.gz diff --git a/nano/Pkgfile b/nano/Pkgfile new file mode 100644 index 0000000..0f820cb --- /dev/null +++ b/nano/Pkgfile @@ -0,0 +1,25 @@ +# Description: GNU pico clone (a tiny text editor) +# 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 +# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu + +name=nano +version=2.2.5 +release=1 +source=(http://www.nano-editor.org/dist/v2.2/$name-$version.tar.gz) + +build(){ + cd $name-$version + ./configure --build=$CHOST \ + --host=$CTARGET \ + --prefix=/usr \ + --disable-nls \ + --mandir=/usr/man + find -type f -name 'Makefile' \ + -exec sed -e "s|-I/usr|-I$CLFS/usr|g" -i {} \; + make + make DESTDIR=$PKG install + rm -r $PKG/usr/share + rm $PKG/usr/bin/rnano $PKG/usr/man/man1/rnano.1 +} -- 2.26.2