commit:     a9e6ccfecc290a970f5844c07a940deff9f136ac
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 18 10:19:29 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jun 18 10:19:39 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9e6ccfe

dev-build/slibtool: add 0.6.0

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-build/slibtool/Manifest              |  2 ++
 dev-build/slibtool/slibtool-0.6.0.ebuild | 41 ++++++++++++++++++++++++++++++++
 2 files changed, 43 insertions(+)

diff --git a/dev-build/slibtool/Manifest b/dev-build/slibtool/Manifest
index 1e5e05d1338c..7638c570cbd9 100644
--- a/dev-build/slibtool/Manifest
+++ b/dev-build/slibtool/Manifest
@@ -2,3 +2,5 @@ DIST slibtool-0.5.35.tar.xz 87964 BLAKE2B 
cd01e3dc479cde2ffd8b58c51273b6c6f50305
 DIST slibtool-0.5.35.tar.xz.sig 833 BLAKE2B 
597d5beb51f650643f1ef1c8f576200ccda154e9428e5097c2236e8d71992a4c9c39d44c1325f9f1265e1cfa49f08581546c0b0f8019c7796ce9271219480753
 SHA512 
2a7333997802ef56a57bf32fbfce17030c1dd732c9066bec94d0719cbda3dc85e896a0221e43065fc3ed35ee852942a5f7c270d56276706b9f0fdb7f4d091ef8
 DIST slibtool-0.5.36.tar.xz 119504 BLAKE2B 
62c58b291573094d480176c2cbb38e161fe4f9ec5beb27d519eea6ca92191dc4bd5088226e2905393318108631cfcbfd1522af9372da0466932211439cf2081a
 SHA512 
afdbef68f25c2079fb1e900052bb8d8cb3b5db67ca2a43ec144d0b6de76ff3452b09ce380acf58ce3d5a71c597ce6d5a9dbfacb5cb6134a71f7f863760e43cdb
 DIST slibtool-0.5.36.tar.xz.sig 833 BLAKE2B 
0eb52ee00098e7e9e0c31520b0b5fb5d8441fb3aee372b01caa78c6667ee476d6f18d64bfc15980509826ceb275b5a8411ae140f75149c8e13d33d4a89212984
 SHA512 
6858230c0aa599021ff1cce622f7fd6abba82c5343a798915d4a43a9fa21119f70d38935aed00617930468adc82f7d3291c8c3da42a06f8153102fb188427bc6
+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

diff --git a/dev-build/slibtool/slibtool-0.6.0.ebuild 
b/dev-build/slibtool/slibtool-0.6.0.ebuild
new file mode 100644
index 000000000000..f1551f5cf160
--- /dev/null
+++ b/dev-build/slibtool/slibtool-0.6.0.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2024 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 ~ia64 ~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
+}

Reply via email to