Files
main/util/admin/htop/actions.py
T
2015-11-23 15:43:36 +01:00

23 lines
656 B
Python

# -*- 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")