Files
core/system/base/biosdevname/actions.py
T
2020-05-04 13:47:29 +03:00

25 lines
670 B
Python

#!/usr/bin/python
# -*- coding: utf-8 -*-
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/copyleft/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("sh ./autogen.sh")
autotools.configure()
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
#remove after usbmove
pisitools.dosym("/usr/sbin/biosdevname", "/sbin/biosdevname")
pisitools.dodoc("AUTHORS", "NEWS", "ChangeLog", "COPYING", "TODO", "README")