nano: convert to addon

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2011-05-28 14:58:43 +02:00
parent 02522c90b3
commit 2027e2516b
6 changed files with 37 additions and 5 deletions

View File

@ -22,5 +22,5 @@
. config/options $1
mkdir -p $INSTALL/usr/bin
cp $PKG_BUILD/src/nano $INSTALL/usr/bin
mkdir -p $ADDON_BUILD/$PKG_ADDON_ID/bin
cp $PKG_BUILD/src/nano $ADDON_BUILD/$PKG_ADDON_ID/bin

View File

@ -25,6 +25,8 @@
# nano fails to build with GOLD linker
strip_gold
LDFLAGS="$LDFLAGS -static"
cd $PKG_BUILD
./configure --host=$TARGET_NAME \
--build=$HOST_NAME \

View File

@ -0,0 +1,5 @@
0.99.2
- prepare for release
0.99.1
- initial addon based on nano-2.3.0

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

View File

@ -20,7 +20,7 @@
PKG_NAME="nano"
PKG_VERSION="2.3.0"
PKG_REV="1"
PKG_REV="2"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://www.nano-editor.org/"
@ -28,9 +28,11 @@ PKG_URL="http://ftp.gnu.org/gnu/nano/$PKG_NAME-$PKG_VERSION.tar.gz"
PKG_DEPENDS="ncurses"
PKG_BUILD_DEPENDS="toolchain ncurses"
PKG_PRIORITY="optional"
PKG_SECTION="tools"
PKG_SECTION="shell/texteditor"
PKG_SHORTDESC="nano: Pico editor clone with enhancements"
PKG_LONGDESC="GNU nano (Nano's ANOther editor, or Not ANOther editor) is an enhanced clone of the Pico text editor."
PKG_IS_ADDON="no"
PKG_IS_ADDON="yes"
PKG_ADDON_TYPE="xbmc.python.script"
PKG_AUTORECONF="yes"

View File

@ -0,0 +1,23 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2011 Stephan Raue (stephan@openelec.tv)
#
# This Program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This Program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenELEC.tv; see the file COPYING. If not, write to
# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
# http://www.gnu.org/copyleft/gpl.html
################################################################################
import os
import sys
import xbmcaddon