mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-05 12:16:41 +02:00
net-dns/libidn2: Sync with Gentoo
It's from Gentoo commit e233ce53188499a61f7b67587bdf6899c91bc10c.
This commit is contained in:
parent
1d405dd24e
commit
aaafcff0ab
@ -1,2 +1,4 @@
|
||||
DIST libidn2-2.3.7.tar.gz 2155214 BLAKE2B 40fde88e6be1e4665738855608a65c949834728463a3fb466192403f1076e99f7d399b9631308ff6776a28915251a0136ddfe6a67e8e010c7ccdb7fc64125d39 SHA512 eab5702bc0baed45492f8dde43a4d2ea3560ad80645e5f9e0cfa8d3b57bccd7fd782d04638e000ba07924a5d9f85e760095b55189188c4017b94705bef9b4a66
|
||||
DIST libidn2-2.3.7.tar.gz.sig 228 BLAKE2B 44f091a5a3ed7ad528ba404b4d1d1f60d1dae52e3c8173b633c30099e6e0405e51f46c954e4f5339b90d0fe883b5af34f8dbf704999e14aa4bd2f414a8473ad2 SHA512 00e5f8c3b6b1aef9ee341db99b339217080a57dbe65fba56798d60ad4be971a9535d8ae27e1f243b18b9fc9e900ada6c452b040a6c8094d5e05d8a76d1d79c03
|
||||
DIST libidn2-2.3.8.tar.gz 2234804 BLAKE2B 8b34975a5a469353ac960ade97d0b67080e811c0d0eb7b11dcb6a4b352753da59b17c812bab8c969877bfe027fc3de0a36b7c6b75942811f17938b676238fb3d SHA512 4d8427c0f115268132f7544e80a808c883ab1406338f6c529b1a586b016d57aedb0857f66166eb8d9f37d70efc9dccf907b673b43b17bcf258c8797db1e829ce
|
||||
DIST libidn2-2.3.8.tar.gz.sig 1223 BLAKE2B f77d1a8dc7400365d3a6f745d9ea59ea16c456cb79c938e27ba221b6c0513a103f589fd40212aeac66cc74f9145b82b50aa21d3c32c0e73541a575f8ad274704 SHA512 469dd344ef652d2914478f7332564a4a89138f709d4805634233a5211d8bd2b0ff759c8f31e0902da116c56d73afe2e9d57fb566b3a5c60f219c15ff7e91de62
|
||||
|
||||
61
sdk_container/src/third_party/portage-stable/net-dns/libidn2/libidn2-2.3.8.ebuild
vendored
Normal file
61
sdk_container/src/third_party/portage-stable/net-dns/libidn2/libidn2-2.3.8.ebuild
vendored
Normal file
@ -0,0 +1,61 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit libtool multilib-minimal toolchain-funcs verify-sig
|
||||
|
||||
DESCRIPTION="An implementation of the IDNA2008 specifications (RFCs 5890, 5891, 5892, 5893)"
|
||||
HOMEPAGE="
|
||||
https://www.gnu.org/software/libidn/#libidn2
|
||||
https://gitlab.com/libidn/libidn2/
|
||||
"
|
||||
SRC_URI="
|
||||
mirror://gnu/libidn/${P}.tar.gz
|
||||
verify-sig? ( mirror://gnu/libidn/${P}.tar.gz.sig )
|
||||
"
|
||||
S="${WORKDIR}"/${P/a/}
|
||||
|
||||
LICENSE="|| ( GPL-2+ LGPL-3+ ) GPL-3+ unicode"
|
||||
SLOT="0/2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
IUSE="nls static-libs"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/libunistring:=[${MULTILIB_USEDEP}]
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
"
|
||||
BDEPEND="
|
||||
dev-lang/perl
|
||||
nls? ( sys-devel/gettext )
|
||||
verify-sig? ( >=sec-keys/openpgp-keys-libidn-20250414 )
|
||||
"
|
||||
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/libidn.asc
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
elibtoolize
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
local myconf=(
|
||||
CC_FOR_BUILD="$(tc-getBUILD_CC)"
|
||||
$(use_enable static-libs static)
|
||||
$(multilib_native_use_enable nls)
|
||||
--enable-doc
|
||||
--disable-gcc-warnings
|
||||
--disable-gtk-doc
|
||||
--disable-valgrind-tests
|
||||
)
|
||||
|
||||
local ECONF_SOURCE=${S}
|
||||
econf "${myconf[@]}"
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
default
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user