diff options
Diffstat (limited to 'dev-util/pkgconf')
-rw-r--r-- | dev-util/pkgconf/Manifest | 4 | ||||
-rw-r--r-- | dev-util/pkgconf/pkgconf-1.9.2.ebuild | 70 |
2 files changed, 72 insertions, 2 deletions
diff --git a/dev-util/pkgconf/Manifest b/dev-util/pkgconf/Manifest index 876c466778c4..0dfcdd308f0c 100644 --- a/dev-util/pkgconf/Manifest +++ b/dev-util/pkgconf/Manifest @@ -1,6 +1,6 @@ DIST pkgconf-1.8.0.tar.xz 296304 BLAKE2B 6585a855a313406f77d26fba3cc3cef798b27c4b7ece81738bdba12f36ee93fbcaf838e1065406c28adc20852e34e2de14bc5f4837982f9cc35360d9a3ac83a5 SHA512 58204006408ad5ce91222ed3c93c2e0b61c04fa83c0a8ad337b747b583744578dbebd4ad5ccbc577689637caa1c5dc246b7795ac46e39c6666b1aa78199b7c28 -DIST pkgconf-1.9.1.tar.xz 306396 BLAKE2B 69fe07a15fa1084d5493712f8c41e37b0bbae65a25afe27346619331967129649292897dc81e36748443b0d9eaebad62b5c9d3e287c3fc5d18568e4fc8a5abd7 SHA512 d94ce1b65a2488b08bb1b67914144a8f731baeb125b8a02e19191fc07fdd04b94dbb8ed8fbcab0e0f4ebe56498e29b545538abf9712df35931a22d0268b54e83 +DIST pkgconf-1.9.2.tar.xz 306876 BLAKE2B efc52d49279fdf698d3c139163451552c350d475d95eaa046d3d3fca65d0b71777247dc124d789f543ed377df6b9d2ce439fb03af0bceeb507a0075255771b36 SHA512 97681487502567da9dbd41da38356078e5a09c512f3b463aa7e2d063c048c50719dc9d9e3b7ef98c8cf935f11b0c5b8f916263444168e3c893b0e35768e4a0f4 EBUILD pkgconf-1.8.0-r1.ebuild 1628 BLAKE2B a331c5e6da602547564a077f346d24cd8ec374d61806a2504203bbf0ef2409850556a641294678142a6da04692e395e73020404b1c556c3e275c7c1278fd3cd6 SHA512 fbd538560cfc2a4440519d89abe3dac785145f468bd9f8d1def6e7a7838e30c2af1da36032736d4c035f5b28a4e9c50618642f2ad50ba3c4d55051978590e983 -EBUILD pkgconf-1.9.1.ebuild 1621 BLAKE2B 97b55d48be10dc388bbf5b287b6c6a58b8a299868c47cfa8017d54601bec182eea70717f35cc9b7e22b8331990383e78d13e0d8ce22b904c7dcac0aef645c717 SHA512 31e8bb9d725759aa6bda1dc0c794ea690b28076fea221deffd063e68a85b9f83bc0b107ac5116806c5feb6dabb0d9f416741c811c8b451d20a9578329dc2edb8 +EBUILD pkgconf-1.9.2.ebuild 1621 BLAKE2B 97b55d48be10dc388bbf5b287b6c6a58b8a299868c47cfa8017d54601bec182eea70717f35cc9b7e22b8331990383e78d13e0d8ce22b904c7dcac0aef645c717 SHA512 31e8bb9d725759aa6bda1dc0c794ea690b28076fea221deffd063e68a85b9f83bc0b107ac5116806c5feb6dabb0d9f416741c811c8b451d20a9578329dc2edb8 EBUILD pkgconf-9999.ebuild 1620 BLAKE2B 09844e6f488727b8553cc7e97ae7f9ff9771bd89f6004f388b98a6a63a0cdd5eb37c8fbc3e0ea9cb7331595822340ed0b99f0d0ea7b892ae64e21927e60c4ebd SHA512 7b3863ce3d49d59ab90c6acd0527bf49d59be258a9ad16cfd0abe2230a6509f01a24796128e4bd8f0afda8c4bf65b7ee5110a51b1402384ee18f76df57f4db0b MISC metadata.xml 482 BLAKE2B 3bf8c3349711340133d9e7d81ca94172ce16e607b4fe9135cb7145d0214c0e9753bc884d248d89e2f5d2ab83368b07a95713b2b2a26ad5aaaffe10086a70a9b7 SHA512 6c372c1bc8e8794015838ad7646a503dd19f06890c8a425ce1ed12f3e5211ff01b1c8cc7ee1685b7ffe10c3b1fb89b81a80152f114be72861c27e5bcc6f17653 diff --git a/dev-util/pkgconf/pkgconf-1.9.2.ebuild b/dev-util/pkgconf/pkgconf-1.9.2.ebuild new file mode 100644 index 000000000000..743bdb4a60b0 --- /dev/null +++ b/dev-util/pkgconf/pkgconf-1.9.2.ebuild @@ -0,0 +1,70 @@ +# Copyright 2012-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit multilib multilib-minimal + +if [[ ${PV} == 9999 ]] ; then + inherit autotools git-r3 + EGIT_REPO_URI="https://gitea.treehouse.systems/ariadne/pkgconf.git" +else + SRC_URI="https://distfiles.dereferenced.org/${PN}/${P}.tar.xz" + # Per release notes, 1.9.0 is a testing/development release. + #KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +fi + +DESCRIPTION="pkg-config compatible replacement with no dependencies other than ANSI C89" +HOMEPAGE="https://gitea.treehouse.systems/ariadne/pkgconf" + +LICENSE="ISC" +SLOT="0/4" +IUSE="test" + +RESTRICT="!test? ( test )" + +BDEPEND=" + test? ( + dev-libs/atf + dev-util/kyua + ) +" +RDEPEND="!dev-util/pkgconfig" + +src_prepare() { + default + + [[ ${PV} == 9999 ]] && eautoreconf + + MULTILIB_CHOST_TOOLS=( + /usr/bin/pkgconf + /usr/bin/pkg-config$(get_exeext) + ) +} + +multilib_src_configure() { + local myeconfargs=( + --with-system-includedir="${EPREFIX}/usr/include" + --with-system-libdir="${EPREFIX}/$(get_libdir):${EPREFIX}/usr/$(get_libdir)" + ) + + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" +} + +multilib_src_test() { + unset PKG_CONFIG_LIBDIR PKG_CONFIG_PATH + default +} + +multilib_src_install() { + default + + dosym pkgconf$(get_exeext) /usr/bin/pkg-config$(get_exeext) + dosym pkgconf.1 /usr/share/man/man1/pkg-config.1 +} + +multilib_src_install_all() { + einstalldocs + + find "${ED}" -type f -name '*.la' -delete || die +} |