cbindgen-talimat
This commit is contained in:
parent
056b00b7a2
commit
0ad49a7be2
|
@ -0,0 +1,16 @@
|
|||
# Tanım: A project for generating C bindings from Rust code
|
||||
# URL: https://github.com/eqrion/cbindgen
|
||||
# Paketçi: milisarge
|
||||
# Gerekler: cargo
|
||||
# Grup: kütüphane
|
||||
|
||||
isim=cbindgen
|
||||
surum=0.6.6
|
||||
devir=1
|
||||
kaynak=(https://github.com/eqrion/cbindgen/archive/v$surum.tar.gz::$isim-$surum.tar.gz)
|
||||
|
||||
derle() {
|
||||
cd cbindgen-$surum
|
||||
cargo build --release
|
||||
install -Dm755 "target/release/cbindgen" "$PKG/usr/bin/cbindgen"
|
||||
}
|
Loading…
Reference in New Issue