mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 05:06:43 +00:00
nano: convert to addon
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
02522c90b3
commit
2027e2516b
@ -22,5 +22,5 @@
|
|||||||
|
|
||||||
. config/options $1
|
. config/options $1
|
||||||
|
|
||||||
mkdir -p $INSTALL/usr/bin
|
mkdir -p $ADDON_BUILD/$PKG_ADDON_ID/bin
|
||||||
cp $PKG_BUILD/src/nano $INSTALL/usr/bin
|
cp $PKG_BUILD/src/nano $ADDON_BUILD/$PKG_ADDON_ID/bin
|
@ -25,6 +25,8 @@
|
|||||||
# nano fails to build with GOLD linker
|
# nano fails to build with GOLD linker
|
||||||
strip_gold
|
strip_gold
|
||||||
|
|
||||||
|
LDFLAGS="$LDFLAGS -static"
|
||||||
|
|
||||||
cd $PKG_BUILD
|
cd $PKG_BUILD
|
||||||
./configure --host=$TARGET_NAME \
|
./configure --host=$TARGET_NAME \
|
||||||
--build=$HOST_NAME \
|
--build=$HOST_NAME \
|
5
packages/addons/shell/texteditor/nano/changelog.txt
Normal file
5
packages/addons/shell/texteditor/nano/changelog.txt
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
0.99.2
|
||||||
|
- prepare for release
|
||||||
|
|
||||||
|
0.99.1
|
||||||
|
- initial addon based on nano-2.3.0
|
BIN
packages/addons/shell/texteditor/nano/icon/icon.png
Normal file
BIN
packages/addons/shell/texteditor/nano/icon/icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 16 KiB |
@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
PKG_NAME="nano"
|
PKG_NAME="nano"
|
||||||
PKG_VERSION="2.3.0"
|
PKG_VERSION="2.3.0"
|
||||||
PKG_REV="1"
|
PKG_REV="2"
|
||||||
PKG_ARCH="any"
|
PKG_ARCH="any"
|
||||||
PKG_LICENSE="GPL"
|
PKG_LICENSE="GPL"
|
||||||
PKG_SITE="http://www.nano-editor.org/"
|
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_DEPENDS="ncurses"
|
||||||
PKG_BUILD_DEPENDS="toolchain ncurses"
|
PKG_BUILD_DEPENDS="toolchain ncurses"
|
||||||
PKG_PRIORITY="optional"
|
PKG_PRIORITY="optional"
|
||||||
PKG_SECTION="tools"
|
PKG_SECTION="shell/texteditor"
|
||||||
PKG_SHORTDESC="nano: Pico editor clone with enhancements"
|
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_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"
|
PKG_AUTORECONF="yes"
|
23
packages/addons/shell/texteditor/nano/source/default.py
Normal file
23
packages/addons/shell/texteditor/nano/source/default.py
Normal 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
|
Loading…
x
Reference in New Issue
Block a user