htop: convert to addon

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2011-05-28 14:59:27 +02:00
parent 2027e2516b
commit 8f55e62eaf
7 changed files with 36 additions and 7 deletions

View File

@ -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/htop $INSTALL/usr/bin cp $PKG_BUILD/htop $ADDON_BUILD/$PKG_ADDON_ID/bin

View File

@ -33,7 +33,6 @@ ac_cv_func_realloc_0_nonnull=yes \
--prefix=/usr \ --prefix=/usr \
--sysconfdir=/etc \ --sysconfdir=/etc \
--localstatedir=/var \ --localstatedir=/var \
--disable-static \ --with-gnu-ld
--enable-shared \
make make

View File

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

View File

@ -20,7 +20,7 @@
PKG_NAME="htop" PKG_NAME="htop"
PKG_VERSION="0.9" PKG_VERSION="0.9"
PKG_REV="1" PKG_REV="2"
PKG_ARCH="any" PKG_ARCH="any"
PKG_LICENSE="GPL" PKG_LICENSE="GPL"
PKG_SITE="http://htop.sourceforge.net/" PKG_SITE="http://htop.sourceforge.net/"
@ -28,9 +28,11 @@ PKG_URL="$SOURCEFORGE_SRC/$PKG_NAME/$PKG_NAME/$PKG_VERSION/$PKG_NAME-$PKG_VERSIO
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="debug/tools"
PKG_SHORTDESC="htop: Htop is an ncurses based interactive process viewer for Linux." PKG_SHORTDESC="htop: Htop is an ncurses based interactive process viewer for Linux."
PKG_LONGDESC="Htop is an ncurses based interactive process viewer for Linux." PKG_LONGDESC="Htop is an ncurses based interactive process viewer for Linux."
PKG_IS_ADDON="no"
PKG_IS_ADDON="yes"
PKG_ADDON_TYPE="xbmc.python.script"
PKG_AUTORECONF="yes" 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