htop build in pisi2.0

This commit is contained in:
groni
2015-11-23 15:43:36 +01:00
parent 82b1558887
commit b4133f0d1f
8 changed files with 172 additions and 2 deletions
+22
View File
@@ -0,0 +1,22 @@
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
def setup():
shelltools.system("sed -i 's|ncursesw/curses.h|curses.h|' RichString.[ch] configure")
autotools.configure("--enable-taskstats \
--enable-unicode")
def build():
autotools.make("-j1")
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("AUTHORS", "ChangeLog", "NEWS", "README")