Files
main/system/installer/yali-rs/actions.py
T
2026-06-28 10:09:01 +03:00

24 lines
572 B
Python

#!/usr/bin/env 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
import os
def setup():
shelltools.export("CARGO_HOME", os.path.join(get.workDIR(), ".cargo"))
def build():
shelltools.system("make")
def install():
shelltools.system("make DESTDIR=%s install" % get.installDIR())
pisitools.dodoc("README.md","TODO.md*")