diff options
Diffstat (limited to 'dev-libs/boehm-gc')
-rw-r--r-- | dev-libs/boehm-gc/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/boehm-gc/boehm-gc-8.0.6.ebuild | 53 |
2 files changed, 55 insertions, 0 deletions
diff --git a/dev-libs/boehm-gc/Manifest b/dev-libs/boehm-gc/Manifest index d7f10179846a..a83738c1a32d 100644 --- a/dev-libs/boehm-gc/Manifest +++ b/dev-libs/boehm-gc/Manifest @@ -1,3 +1,5 @@ DIST gc-8.0.4.tar.gz 1160528 BLAKE2B ec42378c964fc573e53f6f58aa22fa63a0b421c91b81336acfeb2e2afdb5c89514edace3a9500699e13ff1cadc4205ea245af4f0dfa5e439ed9b78cabf6058f7 SHA512 57ccca15c6e50048d306a30de06c1a844f36103a84c2d1c17cbccbbc0001e17915488baec79737449982da99ce5d14ce527176afae9ae153cbbb5a19d986366e +DIST gc-8.0.6.tar.gz 1168660 BLAKE2B c23cb10db54db0e8b16c429e039791086dfec4216ad65fabf072bc0f05df66364d019fccf945bffc32ce12868edfbaf6d9482acb2949d1e233bd89925ab55ebd SHA512 2ea25003d585118e3ac0e12be9240e8195db511c6e94949f20453dc3cb771380bd5b956c04243b2a8ce31508587aa32de4f0f10a813577e6dbe8367688b7614e EBUILD boehm-gc-8.0.4.ebuild 1417 BLAKE2B 0a0d40849a901b436928f336c1e897ad6731317767d396aa0b606db1f8c1f21ab4a28e3e9730b5bda2772547903df19950fbbb228e688892b0475664af14d70a SHA512 2fbab201dcbc7eb60c4331f512a1c44947a5be15e70ef5de535cf2571a8bbb64f4a1aa571bcb08c8c2bb8c84eec336b8f01ef1320e08d303d4bcca724e2d3116 +EBUILD boehm-gc-8.0.6.ebuild 1422 BLAKE2B fbf46110e837ef054eb2173816d4ec4165cbafc355a487540133133a503b8ce25c56815f91705e4d981e82e71fbc7b22a54147e62f1f5fd64bcbd2e5a40bcc03 SHA512 66e35b05815d72e218e01412d0f2cd1f524301ecd85011d5d9bc6449608b741c3411df5650bae2972b879492bb6578d02f368331e1d7504d45c8b3f123f07951 MISC metadata.xml 366 BLAKE2B 29c98f78f2dbe359f1210fb58bd24365791b393cd4bda563185cea4fd35633e0affc82ef00e1e933a1fca0893054d81dd2e1a0c32c861b3cd496766d9decfbe7 SHA512 949dcd60bcde0641526151369de2195e7f784e30e7652087c58f30f3dce1646f619a0c31a0ffdbfa4dc1053d10d713e7e49050c1cf61a7fb8ecb40b479357eb6 diff --git a/dev-libs/boehm-gc/boehm-gc-8.0.6.ebuild b/dev-libs/boehm-gc/boehm-gc-8.0.6.ebuild new file mode 100644 index 000000000000..fe999330ff0e --- /dev/null +++ b/dev-libs/boehm-gc/boehm-gc-8.0.6.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit multilib-minimal libtool + +MY_P="gc-${PV}" + +DESCRIPTION="The Boehm-Demers-Weiser conservative garbage collector" +HOMEPAGE="https://www.hboehm.info/gc/ https://github.com/ivmai/bdwgc/" +SRC_URI="https://github.com/ivmai/bdwgc/releases/download/v${PV}/${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="boehm-gc" +# SONAME: libgc.so.1 libgccpp.so.1 +# We've been using subslot 0 for these instead of "1.1". +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="cxx +large static-libs +threads" + +RDEPEND=">=dev-libs/libatomic_ops-7.4[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +src_prepare() { + default + elibtoolize #594754 +} + +multilib_src_configure() { + local config=( + --disable-docs + --with-libatomic-ops + $(use_enable cxx cplusplus) + $(use_enable static-libs static) + $(use threads || echo --disable-threads) + $(use_enable large large-config) + ) + + ECONF_SOURCE=${S} econf "${config[@]}" +} + +multilib_src_install_all() { + local HTML_DOCS=( doc/*.md ) + einstalldocs + dodoc doc/README{.environment,.linux,.macros} + + # package provides .pc files + find "${ED}" -name '*.la' -delete || die + + newman doc/gc.man GC_malloc.1 +} |