mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-05 12:38:09 -07:00
dev-util/cargo-c: add 0.10.23
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
This commit is contained in:
@@ -16,3 +16,5 @@ DIST cargo-c-0.10.21-crates.tar.xz 36563040 BLAKE2B 145cf45322e13b2099c750c2041c
|
||||
DIST cargo-c-0.10.21.tar.gz 38016 BLAKE2B 3c6925ebb35ba59f516b72edca9bab59cac6cfd0ab37ae5950f14e922f8af6ece9709a76c691433f92e26dc307adf14276baf43c85e56550f8bf360154ad9d81 SHA512 ad51db5d5baf75d4b6f0cb6c79726900b08142d49c420f2516eae7b03aeec9790a7583e21797cec1efa7cef43e14d80eff9258fc34dbe45fe477e2d634836289
|
||||
DIST cargo-c-0.10.22-crates.tar.xz 36939736 BLAKE2B 9e373a10889722c1ba1dfd0407e2468422bb71db29e6d8181735f62b59695c3454ffcf140fc6c344e920f8680b0793bb88952f374505a9018438783311c23225 SHA512 7b66102ab00ec3f8565d6495b16c740c72cebec0001088cee8f8a9479b0baaccac788b443628ced63b710c2b6696736dc534f9d8d0793b11f4e7230511eb78d2
|
||||
DIST cargo-c-0.10.22.tar.gz 38085 BLAKE2B fd2c1106f9bb6251c19dc2bb089369cd20398c7ddb75b7348cb922d9e68fef44249c73e83a2f7b30c690f45419e83a271ec59db8ee3cd4279cddc73e16e3bea3 SHA512 e980c4d49093de6d2f190e18b911a31bc00f7afe52aa81423edfb0dfda010980279d105915eed5391acdf1db4fb3bbc5caa17a4961bbb7584b34ecfb7c3ec10b
|
||||
DIST cargo-c-0.10.23-crates.tar.xz 40352456 BLAKE2B 1d6dc199a8fe2a266b43bfaf1b0b3cb74c604214960c334bcc3bcfe24cdc3098031499e38dd5493dc98f13f36175a16a4111debbfb3291eff2a77361c0e89441 SHA512 73ff7bcfb5904fb246a4983253187c6c9b4aed104c3ae79c40d603c2415250d294c0e6be7a4854a1af7bd87d3e7bd3bcdab68b4258eb1c576f1519b1c64f55da
|
||||
DIST cargo-c-0.10.23.tar.gz 38076 BLAKE2B cea92b666d3237d706e746ad97792f4400672dfa284ed4fad06c3e204f47f8a789a69aa2b4dc9753def4cf6140648a717629021de4b97c0afb6e31ce1c9645fb SHA512 c979e3f2ed549d34a00a63afc031b2bc3eaee910523a398af492fcad5633dfcada47850b2b9e5af667fc6ba40447649016f48438c37fc1d360aa670d803dce09
|
||||
|
||||
58
dev-util/cargo-c/cargo-c-0.10.23.ebuild
Normal file
58
dev-util/cargo-c/cargo-c-0.10.23.ebuild
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright 2022-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# Auto-Generated by cargo-ebuild 0.5.4
|
||||
|
||||
EAPI=8
|
||||
|
||||
# Only bother defining this if the github tarball doesn't work!
|
||||
# Otherwise just comment it out and things should Just Work (TM).
|
||||
#MY_P="${P}+cargo-{CARGO_V}"
|
||||
|
||||
CRATES="
|
||||
"
|
||||
|
||||
RUST_MIN_VER="1.95.0"
|
||||
|
||||
inherit cargo
|
||||
|
||||
DESCRIPTION="Helper program to build and install c-like libraries"
|
||||
HOMEPAGE="https://github.com/lu-zero/cargo-c"
|
||||
if [[ -z ${MY_P} ]] ; then
|
||||
SRC_URI="https://github.com/lu-zero/cargo-c/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
else
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
fi
|
||||
|
||||
SRC_URI+="
|
||||
https://github.com/gentoo-crate-dist/cargo-c/releases/download/v${PV}/${P}-crates.tar.xz
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
# Dependent crate licenses
|
||||
LICENSE+="
|
||||
Apache-2.0 BSD-2 BSD ISC MIT MPL-2.0 MPL-2.0 Unicode-3.0 ZLIB
|
||||
"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/libgit2:=
|
||||
dev-libs/openssl:=
|
||||
net-libs/libssh2:=
|
||||
net-misc/curl[ssl]
|
||||
virtual/zlib:=
|
||||
dev-db/sqlite:3
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
QA_FLAGS_IGNORED="usr/bin/cargo-capi usr/bin/cargo-cbuild usr/bin/cargo-ctest usr/bin/cargo-cinstall"
|
||||
|
||||
src_configure() {
|
||||
# Some crates will auto-build and statically link C libraries(!)
|
||||
# Tracker bug #709568
|
||||
export LIBSSH2_SYS_USE_PKG_CONFIG=1
|
||||
export LIBGIT2_NO_VENDOR=1
|
||||
export LIBSQLITE3_SYS_USE_PKG_CONFIG=1
|
||||
export PKG_CONFIG_ALLOW_CROSS=1
|
||||
}
|
||||
Reference in New Issue
Block a user