Files
main/hardware/disk/f2fs-tools/actions.py
T
2024-07-01 13:10:37 +03:00

24 lines
627 B
Python

#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
from pisi.actionsapi import shelltools
from pisi.actionsapi import pisitools
from pisi.actionsapi import autotools
from pisi.actionsapi import get
def setup():
shelltools.system("./autogen.sh")
autotools.configure("--sbindir=/usr/sbin --without-selinux --disable-static")
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
# pisitools.remove("/usr/sbin/sg_write_buffer")
pisitools.dodoc("COPYING", "README")