rust-bindgen new package
This commit is contained in:
+365011
-364847
File diff suppressed because it is too large
Load Diff
@@ -1 +1 @@
|
||||
2c8474e25307be59233501a5d98b43ad814cba92
|
||||
916031f6f70dd569c40328a7006a0cb7f1e33b45
|
||||
Binary file not shown.
@@ -1 +1 @@
|
||||
bb5e5492d32843fd073d96a31313ce899397ec4e
|
||||
564d29f404d60b1addcc7e9cfe932b706163b8a2
|
||||
@@ -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*")
|
||||
@@ -0,0 +1,46 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>rust-bindgen</Name>
|
||||
<Homepage>https://github.com/rust-lang/rust-bindgen/</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>BSD</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>Automatically generates Rust FFI bindings to C (and some C++) libraries</Summary>
|
||||
<Icon>rust-bindgen</Icon>
|
||||
<Description>C (ve bazı C++) kitaplıklarına otomatik olarak Rust FFI bağlamaları oluşturur</Description>
|
||||
<Archive sha1sum="467ce178d57b716018ec85f24e1cddbd23759091" type="targz">https://github.com/rust-lang/rust-bindgen/archive/refs/tags/v0.63.0.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>rust</Dependency>
|
||||
<Dependency>llvm-clang-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<!--
|
||||
<Patches>
|
||||
<Patch>rust-bindgen.patch</Patch>
|
||||
<Patch level="1">rust-bindgen.patch</Patch>
|
||||
</Patches>
|
||||
-->
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>rust-bindgen</Name>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="1">
|
||||
<Date>2022-12-05</Date>
|
||||
<Version>0.63.0</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>rust-bindgen</Name>
|
||||
<Summary xml:lang="tr">Automatically generates Rust FFI bindings to C (and some C++) libraries</Summary>
|
||||
<Description xml:lang="tr">C (ve bazı C++) kitaplıklarına otomatik olarak Rust FFI bağlamaları oluşturur</Description>
|
||||
</Source>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user