Skip to Content.
Sympa Menu

sm-commit - [[SM-Commit] ] GIT changes to master grimoire by Pavel Vinogradov (5d830935e7a346c2b62fcab22d3bc1227df7009c)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Pavel Vinogradov <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [[SM-Commit] ] GIT changes to master grimoire by Pavel Vinogradov (5d830935e7a346c2b62fcab22d3bc1227df7009c)
  • Date: Wed, 31 Jan 2024 01:10:19 +0000

GIT changes to master grimoire by Pavel Vinogradov <public AT sourcemage.org>:

ChangeLog | 4 ++++
rust-crates/rust-bindgen/DEPENDS | 4 ++++
rust-crates/rust-bindgen/DETAILS | 25 +++++++++++++++++++++++++
rust-crates/rust-bindgen/HISTORY | 3 +++
rust-crates/rust-bindgen/INSTALL | 1 +
rust-crates/rust-bindgen/PREPARE | 2 ++
6 files changed, 39 insertions(+)

New commits:
commit 5d830935e7a346c2b62fcab22d3bc1227df7009c
Author: Pavel Vinogradov <public AT sourcemage.org>
Commit: Pavel Vinogradov <public AT sourcemage.org>

rust-crates/rust-bindgen: new spell, Rust FFI
bindings to C and C++
libraries generator

diff --git a/ChangeLog b/ChangeLog
index 60c4b1d..134013a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2024-01-30 Pavel Vinogradov <public AT sourcemage.org>
+ * rust-crates/rust-bindgen: new spell, Rust FFI bindings to C and C++
+ libraries generator
+
2024-01-30 Ismael Luceno <ismael AT sourcemage.org>
* devel/gnucobol: new spell, A free/libre COBOL compiler

diff --git a/rust-crates/rust-bindgen/DEPENDS
b/rust-crates/rust-bindgen/DEPENDS
new file mode 100755
index 0000000..de95850
--- /dev/null
+++ b/rust-crates/rust-bindgen/DEPENDS
@@ -0,0 +1,4 @@
+if [[ "${RUST_BINDGEN_BRANCH}" == "scm" ]]; then
+ depends git
+fi &&
+depends rust
diff --git a/rust-crates/rust-bindgen/DETAILS
b/rust-crates/rust-bindgen/DETAILS
new file mode 100755
index 0000000..61945f2
--- /dev/null
+++ b/rust-crates/rust-bindgen/DETAILS
@@ -0,0 +1,25 @@
+. "${GRIMOIRE}/FUNCTIONS"
+ SPELL="rust-bindgen"
+if [[ "${RUST_BINDGEN_BRANCH}" == "scm" ]]; then
+ VERSION="$(get_scm_version)"
+ SOURCE="${SPELL}-scm.tar.xz"
+ SOURCE_URL[0]="git_http://github.com/rust-lang/${SPELL}:${SPELL}-scm:main";
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-scm"
+ SOURCE_IGNORE="volatile"
+ FORCE_DOWNLOAD="on"
+else
+ VERSION="0.69.2"
+
SOURCE_HASH="sha512:2ed9ea21b1ae5a86eea851eba1aa2cb5e96fded8be6cf1305c9d3d2d7066cd417bb54fc793768843045af65995b7d282984f6b1e390f677df53fa65c446f8386"
+ SOURCE="${SPELL}-${VERSION}.tar.gz"
+
SOURCE_URL[0]="https://github.com/rust-lang/${SPELL}/archive/refs/tags/v${VERSION}.tar.gz";
+# Watch: https://github.com/rust-lang/rust-bindgen/tags tags/v([0-9.]+)[.]tar
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+fi
+ WEB_SITE="https://rust-lang.github.io/rust-bindgen/";
+ LICENSE[0]="BSD"
+ ENTERED="20240130"
+ KEYWORDS="rust c c++ ffi bindings generator"
+ SHORT="Rust FFI bindings to C and C++ libraries generator"
+cat << EOF
+bindgen automatically generates Rust FFI bindings to C and C++ libraries.
+EOF
diff --git a/rust-crates/rust-bindgen/HISTORY
b/rust-crates/rust-bindgen/HISTORY
new file mode 100644
index 0000000..9d8e660
--- /dev/null
+++ b/rust-crates/rust-bindgen/HISTORY
@@ -0,0 +1,3 @@
+2024-01-30 Pavel Vinogradov <public AT sourcemage.org>
+ * DEPENDS, DETAILS, INSTALL, PREPARE: created the spell, version
0.69.2
+
diff --git a/rust-crates/rust-bindgen/INSTALL
b/rust-crates/rust-bindgen/INSTALL
new file mode 100755
index 0000000..545bf16
--- /dev/null
+++ b/rust-crates/rust-bindgen/INSTALL
@@ -0,0 +1 @@
+install -Dm755 "target/release/bindgen" "${INSTALL_ROOT}/usr/bin/bindgen"
diff --git a/rust-crates/rust-bindgen/PREPARE
b/rust-crates/rust-bindgen/PREPARE
new file mode 100755
index 0000000..e38d86f
--- /dev/null
+++ b/rust-crates/rust-bindgen/PREPARE
@@ -0,0 +1,2 @@
+. "${GRIMOIRE}/FUNCTIONS" &&
+prepare_select_branch stable scm


  • [[SM-Commit] ] GIT changes to master grimoire by Pavel Vinogradov (5d830935e7a346c2b62fcab22d3bc1227df7009c), Pavel Vinogradov, 01/31/2024

Archive powered by MHonArc 2.6.24.

Top of Page