rust-bindgen: initial commit, version 0.65.1
This commit is contained in:
parent
9ff0e849d3
commit
3192470766
3
rust-bindgen/.footprint
Normal file
3
rust-bindgen/.footprint
Normal file
@ -0,0 +1,3 @@
|
||||
drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/bin/
|
||||
-rwxr-xr-x root/root usr/bin/bindgen
|
5
rust-bindgen/.signature
Normal file
5
rust-bindgen/.signature
Normal file
@ -0,0 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/opt.pub
|
||||
RWSE3ohX2g5d/SnOpept+JjmmlNs19Wje/CEwrbX7m5FVIL7tw49dW7UupIcvSeEwTXmOrRquZsDrWuLFq8mGmjFwoqs4FFclQo=
|
||||
SHA256 (Pkgfile) = ca376f031c04af34946fa21a62db3552af0b96225110fffbb2589b5befb54d25
|
||||
SHA256 (.footprint) = 1662dbff2de9322f2626322d56660c935d19188a9072045946af4a44c3ac3b13
|
||||
SHA256 (rust-bindgen-0.65.1.tar.gz) = e4f3491ad342a662fda838c34de03c47ef2fa3019952adbfb94fe4109c06ccf2
|
18
rust-bindgen/Pkgfile
Normal file
18
rust-bindgen/Pkgfile
Normal file
@ -0,0 +1,18 @@
|
||||
# Description: Automatically generates Rust FFI bindings to C (and some C++) libraries
|
||||
# URL: https://github.com/rust-lang/rust-bindgen
|
||||
# Maintainer: Tim Biermann, tbier at posteo dot de
|
||||
# Depends on: clang rust
|
||||
|
||||
name=rust-bindgen
|
||||
version=0.65.1
|
||||
release=1
|
||||
source=(https://github.com/rust-lang/rust-bindgen/archive/v$version/$name-$version.tar.gz)
|
||||
|
||||
build() {
|
||||
prt-get isinst sccache && export RUSTC_WRAPPER=/usr/bin/sccache
|
||||
[[ ! -e $PKGMK_SOURCE_DIR/rust ]] && mkdir $PKGMK_SOURCE_DIR/rust
|
||||
|
||||
cargo build --release --manifest-path $name-$version/Cargo.toml
|
||||
|
||||
install -Dt $PKG/usr/bin $name-$version/target/release/bindgen
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user