rust-bindgen new package

This commit is contained in:
Rmys
2022-12-05 23:39:38 +03:00
parent 2c2e98417e
commit 3481162606
7 changed files with 365091 additions and 364849 deletions
@@ -0,0 +1,24 @@
#!/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
def setup():
shelltools.system('cargo fetch --locked --target "x86_64-unknown-linux-gnu"')
# autotools.configure()
def build():
shelltools.system('cargo build --release --frozen')
# autotools.make()
def install():
pisitools.dobin("target/release/bindgen")
# autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("CHANGELOG*", "LICENSE", "README*")