pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel
Module Name: pkgsrc
Committed By: markd
Date: Sun Sep 6 09:21:58 UTC 2026
Modified Files:
pkgsrc/devel: Makefile
Added Files:
pkgsrc/devel/corrosion: DESCR Makefile PLIST buildlink3.mk distinfo
Log Message:
corrosion: add version 0.6.1
packaged in pkgsrc-wip by drixter%e-utp.net@localhost
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
To generate a diff of this commit:
cvs rdiff -u -r1.4684 -r1.4685 pkgsrc/devel/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/corrosion/DESCR \
pkgsrc/devel/corrosion/Makefile pkgsrc/devel/corrosion/PLIST \
pkgsrc/devel/corrosion/buildlink3.mk pkgsrc/devel/corrosion/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/Makefile
diff -u pkgsrc/devel/Makefile:1.4684 pkgsrc/devel/Makefile:1.4685
--- pkgsrc/devel/Makefile:1.4684 Fri Sep 4 12:22:12 2026
+++ pkgsrc/devel/Makefile Sun Sep 6 09:21:58 2026
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4684 2026/09/04 12:22:12 adam Exp $
+# $NetBSD: Makefile,v 1.4685 2026/09/06 09:21:58 markd Exp $
#
COMMENT= Development utilities
@@ -301,6 +301,7 @@ SUBDIR+= concurrencykit
SUBDIR+= conftest
SUBDIR+= confuse
SUBDIR+= cook
+SUBDIR+= corrosion
SUBDIR+= cppcheck
SUBDIR+= cppcodec
SUBDIR+= cppunit
Added files:
Index: pkgsrc/devel/corrosion/DESCR
diff -u /dev/null pkgsrc/devel/corrosion/DESCR:1.1
--- /dev/null Sun Sep 6 09:21:58 2026
+++ pkgsrc/devel/corrosion/DESCR Sun Sep 6 09:21:58 2026
@@ -0,0 +1,12 @@
+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
Index: pkgsrc/devel/corrosion/Makefile
diff -u /dev/null pkgsrc/devel/corrosion/Makefile:1.1
--- /dev/null Sun Sep 6 09:21:58 2026
+++ pkgsrc/devel/corrosion/Makefile Sun Sep 6 09:21:58 2026
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1 2026/09/06 09:21:58 markd Exp $
+
+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"
Index: pkgsrc/devel/corrosion/PLIST
diff -u /dev/null pkgsrc/devel/corrosion/PLIST:1.1
--- /dev/null Sun Sep 6 09:21:58 2026
+++ pkgsrc/devel/corrosion/PLIST Sun Sep 6 09:21:58 2026
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1 2026/09/06 09:21:58 markd Exp $
+lib/cmake/Corrosion/CorrosionConfig.cmake
+lib/cmake/Corrosion/CorrosionConfigVersion.cmake
+share/cmake/Corrosion.cmake
+share/cmake/CorrosionGenerator.cmake
+share/cmake/FindRust.cmake
Index: pkgsrc/devel/corrosion/buildlink3.mk
diff -u /dev/null pkgsrc/devel/corrosion/buildlink3.mk:1.1
--- /dev/null Sun Sep 6 09:21:58 2026
+++ pkgsrc/devel/corrosion/buildlink3.mk Sun Sep 6 09:21:58 2026
@@ -0,0 +1,14 @@
+# $NetBSD: buildlink3.mk,v 1.1 2026/09/06 09:21:58 markd Exp $
+
+BUILDLINK_TREE+= corrosion
+
+.if !defined(CORROSION_BUILDLINK3_MK)
+CORROSION_BUILDLINK3_MK:=
+
+BUILDLINK_DEPMETHOD.corrosion?= build
+
+BUILDLINK_API_DEPENDS.corrosion+= corrosion>=0.6.1
+BUILDLINK_PKGSRCDIR.corrosion?= ../../devel/corrosion
+.endif # CORROSION_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -corrosion
Index: pkgsrc/devel/corrosion/distinfo
diff -u /dev/null pkgsrc/devel/corrosion/distinfo:1.1
--- /dev/null Sun Sep 6 09:21:58 2026
+++ pkgsrc/devel/corrosion/distinfo Sun Sep 6 09:21:58 2026
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2026/09/06 09:21:58 markd Exp $
+
+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