diff options
author | Sam James <sam@gentoo.org> | 2021-07-20 20:41:32 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-07-21 03:49:06 +0100 |
commit | 1938c9495caffddcec0bbd33ffd235a874edd3ae (patch) | |
tree | 34753b6bf488f96308baa20e8d3ca32e6bdfa426 /net-dns/libidn2 | |
parent | profiles/arch/riscv: unmask USE=systemtap (diff) | |
download | gentoo-1938c9495caffddcec0bbd33ffd235a874edd3ae.tar.gz gentoo-1938c9495caffddcec0bbd33ffd235a874edd3ae.tar.bz2 gentoo-1938c9495caffddcec0bbd33ffd235a874edd3ae.zip |
net-dns/libidn2: add 2.3.2
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-dns/libidn2')
-rw-r--r-- | net-dns/libidn2/Manifest | 2 | ||||
-rw-r--r-- | net-dns/libidn2/libidn2-2.3.2.ebuild | 58 |
2 files changed, 60 insertions, 0 deletions
diff --git a/net-dns/libidn2/Manifest b/net-dns/libidn2/Manifest index b26509ac5d43..384957e4cfa2 100644 --- a/net-dns/libidn2/Manifest +++ b/net-dns/libidn2/Manifest @@ -1,2 +1,4 @@ DIST libidn2-2.3.1.tar.gz 2188338 BLAKE2B 323840b0d84f41cc746ca9b5a24169a374e95bd4669b96d7b62ac3304f6d78195acef7739628cf7e31cf7b230ffb60f74961c3e22693571fd2fc7cbb35f1ac23 SHA512 4d77a4a79e08a05e46fc14827f987b9e7645ebf5d0c0869eb96f9902c2f6b73ea69fd6f9f97b80a9f07cce84f7aa299834df91485d4e7c16500d31a4b9865fe4 DIST libidn2-2.3.1.tar.gz.sig 488 BLAKE2B 2e1428ec240964fcdc1dbe96afa69920e5f5439ebf9c58e134832ceab932aef57176744a8fdf76ca29e73650c18406ec894b8e92dd95d52cb712bf7f823ca820 SHA512 2db4bb3a11562634276664fb857306271c6ebc96cf5e90b39b404c3fe47190ec65ce3866cebcfa0c1216d29d7aed8c7907b869e602a722db1cf8f6ab94da9c78 +DIST libidn2-2.3.2.tar.gz 2169556 BLAKE2B 6914630ecf6dcf18eb808dae933b819ee705c73011e6ffd68f8d14dd2c2ed084a9b504385c29988b2c4b439c6c8f2f552e47f4d624ae20d8b64767bf4d47f6a3 SHA512 958dbf49a47a84c7627ac182f4cc8ea452696cec3f0d1ff102a6c48e89893e772b2aa81f75da8223dfc6326515cca3ae085268fbf997828de9330c3a351152f1 +DIST libidn2-2.3.2.tar.gz.sig 488 BLAKE2B 832a5424034147a2c969fdbe0e094c23cda6305fe6411728f7727054571f54f6f056b939cf13023606dcb4f4bd85ed527b8e85bce6e56ed366e893ea16f8eb13 SHA512 0559b51b37c7937f3e1f8bf9de9b193f137f16b79d6673f85691a4f4a12ec132568e913848a70136f8522118817f7ecaa8432d353a5eff6b99a7be8719421fe0 diff --git a/net-dns/libidn2/libidn2-2.3.2.ebuild b/net-dns/libidn2/libidn2-2.3.2.ebuild new file mode 100644 index 000000000000..ca045ed9ec8c --- /dev/null +++ b/net-dns/libidn2/libidn2-2.3.2.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/libidn.asc +inherit 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+" +SLOT="0/2" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="static-libs" + +RDEPEND=" + dev-libs/libunistring:=[${MULTILIB_USEDEP}] +" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-lang/perl + sys-apps/help2man + verify-sig? ( app-crypt/openpgp-keys-libidn ) +" + +src_prepare() { + default + + if [[ ${CHOST} == *-darwin* ]] ; then + # Darwin ar chokes when TMPDIR doesn't exist (as done for some + # reason in the Makefile) + sed -i -e '/^TMPDIR = /d' Makefile.in || die + export TMPDIR="${T}" + fi + + multilib_copy_sources +} + +multilib_src_configure() { + econf \ + CC_FOR_BUILD="$(tc-getBUILD_CC)" \ + $(use_enable static-libs static) \ + --disable-doc \ + --disable-gcc-warnings \ + --disable-gtk-doc +} + +multilib_src_install() { + default + + find "${ED}" -name '*.la' -delete || die +} |