17 lines
409 B
Plaintext
17 lines
409 B
Plaintext
|
# 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"
|
|||
|
}
|