cbindgen-talimat

This commit is contained in:
milisbir 2018-11-09 14:14:24 +02:00
parent 056b00b7a2
commit 0ad49a7be2
1 changed files with 16 additions and 0 deletions

View File

@ -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"
}