mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-27 16:41:11 +02:00
dev-util/pkgconf: Sync with Gentoo
It's from Gentoo commit 06302d35627e371299f53ccecd62d86e3131f3bb.
This commit is contained in:
parent
93038a2b35
commit
114e84629a
@ -1,3 +1,3 @@
|
|||||||
DIST pkgconf-1.8.0.tar.xz 296304 BLAKE2B 6585a855a313406f77d26fba3cc3cef798b27c4b7ece81738bdba12f36ee93fbcaf838e1065406c28adc20852e34e2de14bc5f4837982f9cc35360d9a3ac83a5 SHA512 58204006408ad5ce91222ed3c93c2e0b61c04fa83c0a8ad337b747b583744578dbebd4ad5ccbc577689637caa1c5dc246b7795ac46e39c6666b1aa78199b7c28
|
|
||||||
DIST pkgconf-1.8.1.tar.xz 302372 BLAKE2B 591961f0b1fd185834fd8e2a672199cffc035139599817b1d56d571300d2aa800a719c9477aac4023dfade597ad3cc3b45360babe57498977568ee57077c7bbe SHA512 7a7d5204c1c9bfb6578bda56f299d1fa0300e69a133a65730b10ad77aefbf26fceb74ae77cecda326b3ed5db5736f27fcce94764b3a56d40f4bb99fecdc80bba
|
DIST pkgconf-1.8.1.tar.xz 302372 BLAKE2B 591961f0b1fd185834fd8e2a672199cffc035139599817b1d56d571300d2aa800a719c9477aac4023dfade597ad3cc3b45360babe57498977568ee57077c7bbe SHA512 7a7d5204c1c9bfb6578bda56f299d1fa0300e69a133a65730b10ad77aefbf26fceb74ae77cecda326b3ed5db5736f27fcce94764b3a56d40f4bb99fecdc80bba
|
||||||
DIST pkgconf-1.9.4.tar.xz 309164 BLAKE2B f0a99f9c7aaf571b14aa24b6dae441fb041d794294e560601232c03254e521a49a5724e41c5ada537f7933bb4831b63482896c8569a9502c8c5d841190e1d091 SHA512 079436244f3942161f91c961c96d382a85082079c9843fec5ddd7fb245ba7500a9f7a201b5ef2c70a7a079fe1aacf3a52b73de5402a6f061df87bcdcf0a90755
|
DIST pkgconf-1.9.4.tar.xz 309164 BLAKE2B f0a99f9c7aaf571b14aa24b6dae441fb041d794294e560601232c03254e521a49a5724e41c5ada537f7933bb4831b63482896c8569a9502c8c5d841190e1d091 SHA512 079436244f3942161f91c961c96d382a85082079c9843fec5ddd7fb245ba7500a9f7a201b5ef2c70a7a079fe1aacf3a52b73de5402a6f061df87bcdcf0a90755
|
||||||
|
DIST pkgconf-1.9.5.tar.xz 310068 BLAKE2B 196babfccbf34c10bf08eb52fe1a4366273e07fcc97fb42d117295bb1cb141811e6a0453597b4aab31dc2bfc06baf9b2507484c68cd6c7474c94e5676a743d0e SHA512 604853d8bb1c3ca14e696f83ac5b161e2592defb921d53e1c16cc949d4b9ecac2b12983c1fbbb3c89898323bda18c8749bff3946e049c8305a1a39a773265f09
|
||||||
|
@ -1,26 +1,26 @@
|
|||||||
# Copyright 2012-2023 Gentoo Authors
|
# Copyright 2012-2023 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=7
|
EAPI=8
|
||||||
|
|
||||||
inherit multilib multilib-minimal
|
inherit multilib multilib-minimal
|
||||||
|
|
||||||
if [[ ${PV} == "9999" ]] ; then
|
if [[ ${PV} == 9999 ]] ; then
|
||||||
inherit autotools git-r3
|
inherit autotools git-r3
|
||||||
EGIT_REPO_URI="https://gitea.treehouse.systems/ariadne/pkgconf.git"
|
EGIT_REPO_URI="https://gitea.treehouse.systems/ariadne/pkgconf.git"
|
||||||
else
|
else
|
||||||
SRC_URI="https://distfiles.dereferenced.org/${PN}/${P}.tar.xz"
|
SRC_URI="https://distfiles.dereferenced.org/${PN}/${P}.tar.xz"
|
||||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~arm64-macos ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
# Per release notes, 1.9.x 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 ~arm64-macos ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
DESCRIPTION="pkg-config compatible replacement with no dependencies other than C99"
|
DESCRIPTION="pkg-config compatible replacement with no dependencies other than C99"
|
||||||
HOMEPAGE="https://gitea.treehouse.systems/ariadne/pkgconf"
|
HOMEPAGE="https://gitea.treehouse.systems/ariadne/pkgconf"
|
||||||
|
|
||||||
LICENSE="ISC"
|
LICENSE="ISC"
|
||||||
SLOT="0/3"
|
SLOT="0/4"
|
||||||
IUSE="test"
|
IUSE="test"
|
||||||
|
|
||||||
# tests require 'kyua'
|
|
||||||
RESTRICT="!test? ( test )"
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
BDEPEND="
|
BDEPEND="
|
||||||
@ -29,31 +29,26 @@ BDEPEND="
|
|||||||
dev-util/kyua
|
dev-util/kyua
|
||||||
)
|
)
|
||||||
"
|
"
|
||||||
RDEPEND="
|
RDEPEND="!dev-util/pkgconfig"
|
||||||
!dev-util/pkgconfig
|
|
||||||
"
|
|
||||||
|
|
||||||
MULTILIB_CHOST_TOOLS=(
|
|
||||||
/usr/bin/pkgconf$(get_exeext)
|
|
||||||
)
|
|
||||||
|
|
||||||
src_prepare() {
|
src_prepare() {
|
||||||
default
|
default
|
||||||
|
|
||||||
[[ ${PV} == "9999" ]] && eautoreconf
|
[[ ${PV} == 9999 ]] && eautoreconf
|
||||||
MULTILIB_CHOST_TOOLS+=(
|
|
||||||
|
MULTILIB_CHOST_TOOLS=(
|
||||||
|
/usr/bin/pkgconf
|
||||||
/usr/bin/pkg-config$(get_exeext)
|
/usr/bin/pkg-config$(get_exeext)
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
multilib_src_configure() {
|
multilib_src_configure() {
|
||||||
local ECONF_SOURCE="${S}"
|
local myeconfargs=(
|
||||||
local args=(
|
|
||||||
--disable-static
|
|
||||||
--with-system-includedir="${EPREFIX}/usr/include"
|
--with-system-includedir="${EPREFIX}/usr/include"
|
||||||
--with-system-libdir="${EPREFIX}/$(get_libdir):${EPREFIX}/usr/$(get_libdir)"
|
--with-system-libdir="${EPREFIX}/$(get_libdir):${EPREFIX}/usr/$(get_libdir)"
|
||||||
)
|
)
|
||||||
econf "${args[@]}"
|
|
||||||
|
ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
|
||||||
}
|
}
|
||||||
|
|
||||||
multilib_src_test() {
|
multilib_src_test() {
|
||||||
@ -70,5 +65,6 @@ multilib_src_install() {
|
|||||||
|
|
||||||
multilib_src_install_all() {
|
multilib_src_install_all() {
|
||||||
einstalldocs
|
einstalldocs
|
||||||
|
|
||||||
find "${ED}" -type f -name '*.la' -delete || die
|
find "${ED}" -type f -name '*.la' -delete || die
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user