cbindgen: new port

This commit is contained in:
Fredrik Rinnestam 2018-10-23 17:50:33 +02:00
parent ae980bc33c
commit 51f2786b7d
3 changed files with 25 additions and 0 deletions

3
cbindgen/.footprint Normal file
View 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/cbindgen

5
cbindgen/.signature Normal file
View File

@ -0,0 +1,5 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/aeDwFOL0wAoEWy36lURX2TQUsx7WygF7mOCxDhsHZQqn7yqVvIjYT4IG3t83/066JdlKxunpEDeaNLv8ylvLwU=
SHA256 (Pkgfile) = ca3572556a716f8cb2f1e6a475678ca6439833d23206a3fd4273c9ed060280cd
SHA256 (.footprint) = fd60992957bd0010460d49684c69464200651af797acdb98547f4847fc9f3f3c
SHA256 (cbindgen-v0.6.6.tar.gz) = e55927a17be6541a74e6cd1bc9cdd8fcc277e820e2180c8861d27a52d579153a

17
cbindgen/Pkgfile Normal file
View File

@ -0,0 +1,17 @@
# Description: Generate C bindings from rust code
# URL: https://github.com/eqrion/cbindgen
# Maintainer: Fredrik Rinnestam, fredrik at crux dot guru
# Depends on: rust
name=cbindgen
version=0.6.6
release=1
source=(https://github.com/eqrion/cbindgen/archive/v$version/$name-v$version.tar.gz)
build() {
cd $name-$version
cargo build --release
install -Dm755 "target/release/cbindgen" "$PKG/usr/bin/cbindgen"
}