CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
nano: initial import (verified compilation).
authorVictor Martinez <pitillo@ono.com>
Wed, 29 Sep 2010 07:47:34 +0000 (07:47 +0000)
committerVictor Martinez <pitillo@ono.com>
Wed, 29 Sep 2010 07:47:34 +0000 (07:47 +0000)
nano/.footprint [new file with mode: 0644]
nano/.md5sum [new file with mode: 0644]
nano/Pkgfile [new file with mode: 0644]

diff --git a/nano/.footprint b/nano/.footprint
new file mode 100644 (file)
index 0000000..60259dc
--- /dev/null
@@ -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 (file)
index 0000000..c335908
--- /dev/null
@@ -0,0 +1 @@
+77a10a49589f975ce98350a4527a2ebf  nano-2.2.5.tar.gz
diff --git a/nano/Pkgfile b/nano/Pkgfile
new file mode 100644 (file)
index 0000000..0f820cb
--- /dev/null
@@ -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
+}