From 777a97723744ee1851fc3ce4a6b1a4abb68a5da4 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Thu, 9 Sep 2010 18:18:28 +0200 Subject: [PATCH] new package: add package 'nano' to development builds Signed-off-by: Stephan Raue --- packages/debug/install | 4 +++- packages/debug/nano/build | 16 ++++++++++++++++ packages/debug/nano/install | 8 ++++++++ packages/debug/nano/url | 1 + 4 files changed, 28 insertions(+), 1 deletion(-) create mode 100755 packages/debug/nano/build create mode 100755 packages/debug/nano/install create mode 100644 packages/debug/nano/url diff --git a/packages/debug/install b/packages/debug/install index 3b3a45094e..f4f0a88558 100755 --- a/packages/debug/install +++ b/packages/debug/install @@ -5,5 +5,7 @@ $SCRIPTS/install strace $SCRIPTS/install gdb $SCRIPTS/install mesa-demos -$SCRIPTS/install htop +$SCRIPTS/install htop # on user request +$SCRIPTS/install nano # on user request + diff --git a/packages/debug/nano/build b/packages/debug/nano/build new file mode 100755 index 0000000000..f607cf6eea --- /dev/null +++ b/packages/debug/nano/build @@ -0,0 +1,16 @@ +#!/bin/sh + +. config/options $1 + +$SCRIPTS/build toolchain +$SCRIPTS/build ncurses + +cd $PKG_BUILD + +./configure --host=$TARGET_NAME \ + --build=$HOST_NAME \ + --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + +make diff --git a/packages/debug/nano/install b/packages/debug/nano/install new file mode 100755 index 0000000000..8ece062176 --- /dev/null +++ b/packages/debug/nano/install @@ -0,0 +1,8 @@ +#!/bin/sh + +. config/options $1 + +$SCRIPTS/install ncurses + +mkdir -p $INSTALL/usr/bin + cp $PKG_BUILD/src/nano $INSTALL/usr/bin diff --git a/packages/debug/nano/url b/packages/debug/nano/url new file mode 100644 index 0000000000..3a76d3ecd8 --- /dev/null +++ b/packages/debug/nano/url @@ -0,0 +1 @@ +http://www.nano-editor.org/dist/v2.2/nano-2.2.5.tar.gz \ No newline at end of file