milis/talimatname/genel/c/cbindgen/talimat

17 lines
409 B
Plaintext
Raw Normal View History

2018-11-09 13:14:24 +01:00
# 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"
}