first commit

This commit is contained in:
ngn
2024-08-11 02:17:03 +03:00
commit ee34792885
1404 changed files with 13564 additions and 0 deletions

3
src/cbindgen/.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
.cache/
dist/
root/

2
src/cbindgen/changes.md Normal file
View File

@ -0,0 +1,2 @@
# 0.24.3
First version

17
src/cbindgen/pkg.sh Normal file
View File

@ -0,0 +1,17 @@
NAME="cbindgen"
DESC="Generate C bindings for Rust code."
VERSION="0.24.3"
FILES=("https://github.com/eqrion/cbindgen/archive/v$VERSION/cbindgen-$VERSION.tar.gz")
HASHES=("6aa2991ca8411f9ebf9961e8b873e884")
DEPENDS=()
PACKAGE() {
tar xf $NAME-$VERSION.tar.gz
cd $NAME-$VERSION
cargo build --release
mkdir -pv "$ROOTDIR/usr/bin"
install -Dm755 target/release/cbindgen "$ROOTDIR/usr/bin/"
cd .. && rm -r $NAME-$VERSION
}