pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
corrosion: Add with 0.6.1
Module Name: pkgsrc-wip
Committed By: Marcin Gondek <drixter%e-utp.net@localhost>
Pushed By: drixter
Date: Sun Jul 12 23:37:50 2026 +0200
Changeset: c4d75f9c98b9900f1daa6ad659d4df8ff6af5d5f
Modified Files:
Makefile
Added Files:
corrosion/COMMIT_MSG
corrosion/DESCR
corrosion/Makefile
corrosion/PLIST
corrosion/TODO
corrosion/distinfo
Log Message:
corrosion: Add with 0.6.1
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=c4d75f9c98b9900f1daa6ad659d4df8ff6af5d5f
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
corrosion/COMMIT_MSG | 7 +++++++
corrosion/DESCR | 19 +++++++++++++++++++
corrosion/Makefile | 17 +++++++++++++++++
corrosion/PLIST | 6 ++++++
corrosion/TODO | 2 ++
corrosion/distinfo | 5 +++++
7 files changed, 57 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index 48278c26f2..4a97447d52 100644
--- a/Makefile
+++ b/Makefile
@@ -607,6 +607,7 @@ SUBDIR+= copytape
SUBDIR+= coreclr-git
SUBDIR+= corefx-git
SUBDIR+= corert-git
+SUBDIR+= corrosion
SUBDIR+= cortex-var
SUBDIR+= cortextool
SUBDIR+= cosmo-engine
diff --git a/corrosion/COMMIT_MSG b/corrosion/COMMIT_MSG
new file mode 100644
index 0000000000..9394a80e46
--- /dev/null
+++ b/corrosion/COMMIT_MSG
@@ -0,0 +1,7 @@
+corrosion: Add with 0.6.1
+
+Corrosion, formerly known as cmake-cargo, is a tool for integrating Rust into an existing CMake project. Corrosion can automatically import executables, static libraries, and dynamic libraries from a workspace or package manifest (Cargo.toml file).
+
+Fixes
+Fix building shared libraries for iOS.
+Fix host linker detection for iOS and add the CORROSION_HOST_TARGET_LINKER cache variable, to allow users to override the linker used for the host build (required for build-scripts and proc-macros).
diff --git a/corrosion/DESCR b/corrosion/DESCR
new file mode 100644
index 0000000000..abc2fc4065
--- /dev/null
+++ b/corrosion/DESCR
@@ -0,0 +1,19 @@
+Corrosion, formerly known as cmake-cargo, is a tool for
+integrating Rust into an existing CMake project.
+Corrosion can automatically import executables,
+static libraries, and dynamic libraries
+from a workspace or package manifest (`Cargo.toml` file).
+
+## Features
+- Automatic Import of Executable, Static, and Shared Libraries from Rust Crate
+- Easy Installation of Rust Executables
+- Trivially Link Rust Executables to C/C++ Libraries in Tree
+- Multi-Config Generator Support
+- Simple Cross-Compilation
+
+## Sample Usage with FetchContent
+
+Using the CMake `FetchContent` module allows you to easily
+integrate corrosion into your build.
+Other methods including installing corrosion or adding it
+as a subdirectory are covered in the
diff --git a/corrosion/Makefile b/corrosion/Makefile
new file mode 100644
index 0000000000..0186f9ac69
--- /dev/null
+++ b/corrosion/Makefile
@@ -0,0 +1,17 @@
+# $NetBSD$
+
+DISTNAME= corrosion-0.6.1
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_GITHUB:=corrosion-rs/}
+GITHUB_TAG= v${PKGVERSION_NOREV}
+
+MAINTAINER= drixter%e-utp.net@localhost
+HOMEPAGE= https://github.com/corrosion-rs/corrosion/
+COMMENT= Corrosion, tool for integrating Rust into an existing CMake project
+LICENSE= mit
+
+USE_TOOLS+= gmake
+
+.include "../../devel/cmake/build.mk"
+.include "../../lang/rust/cargo.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/corrosion/PLIST b/corrosion/PLIST
new file mode 100644
index 0000000000..23906f38c0
--- /dev/null
+++ b/corrosion/PLIST
@@ -0,0 +1,6 @@
+@comment $NetBSD$
+lib/cmake/Corrosion/CorrosionConfig.cmake
+lib/cmake/Corrosion/CorrosionConfigVersion.cmake
+share/cmake/Corrosion.cmake
+share/cmake/CorrosionGenerator.cmake
+share/cmake/FindRust.cmake
diff --git a/corrosion/TODO b/corrosion/TODO
new file mode 100644
index 0000000000..92d6009055
--- /dev/null
+++ b/corrosion/TODO
@@ -0,0 +1,2 @@
+First compilation, to be reviewed
+
diff --git a/corrosion/distinfo b/corrosion/distinfo
new file mode 100644
index 0000000000..e13a06ecb0
--- /dev/null
+++ b/corrosion/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (corrosion-0.6.1.tar.gz) = 1505eec6bd670e269ab597d36510c1d0ccceb9217ff7a93af11080f18f37a4a0
+SHA512 (corrosion-0.6.1.tar.gz) = 2b0d1ccafd5472f2938d084995662c586f19cb5cd4ead20fa25e9516d595eb5f756cb2d9abb12dccfa944b52a1f8002c69a1a4d955409c9d194c6d885a6d48ca
+Size (corrosion-0.6.1.tar.gz) = 103330 bytes
Home |
Main Index |
Thread Index |
Old Index