mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-17 11:04:10 -04:00
*/*: update for slotted Rust
guru version of this commit: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01ba4dc61965ef7658a24728841c04c9a1ce4871 Closes: https://bugs.gentoo.org/943170 Closes: https://bugs.gentoo.org/943223 Closes: #260 Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
This commit is contained in:
@@ -55,16 +55,8 @@ KEYWORDS="~amd64"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
# There are inconsistencies in the minimum required version between
|
||||
# the homepage of the package and the README of its primary consumer,
|
||||
# developed by the same person. Since the primary consumer directly
|
||||
# pulls up the library as a Git submodule (patched out to use a
|
||||
# standalone library in Gentoo) and does not require Rust by itself,
|
||||
# we presume that that is more accurate.
|
||||
BDEPEND=">=virtual/rust-1.50.0"
|
||||
|
||||
src_install() {
|
||||
dolib.a target/$(usex debug debug release)/lib${PN}.a
|
||||
dolib.a "$(cargo_target_dir)"/lib${PN}.a
|
||||
insinto /usr/$(get_libdir)/pkgconfig
|
||||
doins "${FILESDIR}"/dmd_core.pc
|
||||
sed -e "s/%VERSION%/${PV}/g" \
|
||||
Reference in New Issue
Block a user