commit: 546671b9ac3032d9a1c6bd2a9850e93d39a657d2 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Thu Jan 16 00:40:06 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Thu Jan 16 00:40:06 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=546671b9
dev-build/slibtool: add 0.6.1 Closes: https://bugs.gentoo.org/947699 Signed-off-by: Sam James <sam <AT> gentoo.org> dev-build/slibtool/Manifest | 2 ++ dev-build/slibtool/slibtool-0.6.1.ebuild | 41 ++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) diff --git a/dev-build/slibtool/Manifest b/dev-build/slibtool/Manifest index ab8aee040fff..6294067e238d 100644 --- a/dev-build/slibtool/Manifest +++ b/dev-build/slibtool/Manifest @@ -1,2 +1,4 @@ DIST slibtool-0.6.0.tar.xz 128216 BLAKE2B 9b21b73c1d911b11e280040fb8af076a80548b7361e11332b2e13a566e24b641b9a1ab4234b7addfa7405a560697eec39a4f7be4df073dba834223133b01628e SHA512 4615b139bd0f9c4735b7c6082e32e7954c96881f06960cd1aa375820fa0f07f720a43e667228a10b3af88db149a1a03f4e91a5a8ac08b16e3e5564709eec8f7d DIST slibtool-0.6.0.tar.xz.sig 833 BLAKE2B 7996dc6162d007036ce3a351dfd356dcd0202739448f6d3f9994e193dcd5d1889ef98df60c5a04650d00363741f7cd22f680f91aae9dca46e906d12bb7936dcd SHA512 f4c49d97ccc931ab20b1f51c914155ae7386c72e471329eaa4d544425e683febf78de2772544bbc55f21cdafc16f0ce226df7d47abe87ac5101525b306665a29 +DIST slibtool-0.6.1.tar.xz 129584 BLAKE2B 99c90f580a45d450c9c213519c761dbdca1dcac916cc85782e71f7214584c1232f8d183f8ebb8afe91e39b5244a9bf7386eb93082044297c07320dbca3ec5f11 SHA512 71c36243c3a8c3dc63304b07a64ba8c948b8ec463783a63426c74ea6a51702ddd9a52c2397948300db4ddaa0851ef8c7cca3cef6b4d185d2cbc47a45212bcfe8 +DIST slibtool-0.6.1.tar.xz.sig 833 BLAKE2B 135a34d295b2b8ceef3e41edfa0901b99026a503c025859d1364108bb8e12fe378d24bc77ae5c85f831c69c69cf005f1ea880e27d53538fc7cd5dd13641ba526 SHA512 82318cdfd15c8f103255b086921902ff3fcf01e4273fffeddf0515292644f0b677d4580be9810ffce85447b7a069a4c936e4bc42b346bd56f2bd755b38355ea6 diff --git a/dev-build/slibtool/slibtool-0.6.1.ebuild b/dev-build/slibtool/slibtool-0.6.1.ebuild new file mode 100644 index 000000000000..ae8125471700 --- /dev/null +++ b/dev-build/slibtool/slibtool-0.6.1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +# git.foss21.org is the official repository per upstream +DESCRIPTION="A strong libtool implementation, written in C" +HOMEPAGE="https://git.foss21.org/slibtool" +if [[ "${PV}" == *9999 ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://git.foss21.org/slibtool" +else + VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/midipix.asc + inherit verify-sig + + SRC_URI="https://dl.midipix.org/slibtool/${P}.tar.xz" + SRC_URI+=" verify-sig? ( https://dl.midipix.org/slibtool/${P}.tar.xz.sig )" + + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +fi + +BDEPEND="sys-devel/m4" + +if [[ ${PV} != *9999 ]] ; then + BDEPEND+=" verify-sig? ( >=sec-keys/openpgp-keys-midipix-20240315 )" +fi + +LICENSE="MIT" +SLOT="0" + +src_configure() { + # Custom configure script (not generated by autoconf) + ./configure \ + --compiler="$(tc-getCC)" \ + --host=${CHOST} \ + --prefix="${EPREFIX}"/usr \ + --libdir="${EPREFIX}/usr/$(get_libdir)" \ + || die +}
