Merge pull request #1150 from kinvolk/sayan/update-expat-2.4.1

dev-libs/expat: Sync with Gentoo upstream; updates to 2.4.1
This commit is contained in:
Sayan Chowdhury 2021-08-03 20:14:36 +05:30 committed by GitHub
commit 7d0075e163
2 changed files with 11 additions and 7 deletions

View File

@ -1 +1 @@
DIST expat-2.2.8.tar.xz 422324 BLAKE2B 1f3e8bbce7f05aa080ca647d12a4ff9bf6d21cd31366d70daabcf8db48985e0b644faac5e251e0a559a74f0a27b247ede64b6f117940a5f7f70dc1cce0f0036a SHA512 102a3af89af37a961f81ade2dfb4f3e13bf779110decff9f1462f21079aa6959009871c39b933d9bf47ebc3ee50d3f8d5b41859dce833d290f17886a2aa80aa9 DIST expat-2.4.1.tar.xz 445024 BLAKE2B 2ae66d284a03176ef7290093f59bb7ad98011dfbf3c7c3515ba4e4b99f849474def6ce6d9844c944fed22d86ac4ea1a38863646be914d9432eda7b69d890be65 SHA512 9dc760dbf701f75e55c4479d81417622f8c750d8473498458a382a4c2932a2976a059cb3589f88855188e5173ec7868d285c4601428e0ca625df7a59cf975191

View File

@ -1,9 +1,12 @@
# Copyright 1999-2019 Gentoo Authors # Copyright 1999-2021 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=7
AUTOTOOLS_AUTO_DEPEND=no AUTOTOOLS_AUTO_DEPEND=no
inherit autotools eutils libtool multilib toolchain-funcs multilib-minimal AT_NOEAUTOHEADER=yes # because expat_config.h.in would need post-processing
# Flatcar: Don't inherit usr-ldscript
inherit autotools multilib-minimal
DESCRIPTION="Stream-oriented XML parser library" DESCRIPTION="Stream-oriented XML parser library"
HOMEPAGE="https://libexpat.github.io/" HOMEPAGE="https://libexpat.github.io/"
@ -11,7 +14,7 @@ SRC_URI="https://github.com/libexpat/libexpat/releases/download/R_${PV//\./_}/ex
LICENSE="MIT" LICENSE="MIT"
SLOT="0" SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~riscv s390 ~sh sparc x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt" 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 ~x86-winnt"
IUSE="elibc_FreeBSD examples static-libs unicode" IUSE="elibc_FreeBSD examples static-libs unicode"
BDEPEND="unicode? ( ${AUTOTOOLS_DEPEND} )" BDEPEND="unicode? ( ${AUTOTOOLS_DEPEND} )"
@ -81,11 +84,12 @@ multilib_src_install_all() {
# Note: Use of HTML_DOCS would add unwanted "doc" subfolder # Note: Use of HTML_DOCS would add unwanted "doc" subfolder
docinto html docinto html
dodoc doc/*.{css,html,png} dodoc doc/*.{css,html}
if use examples; then if use examples; then
insinto /usr/share/doc/${PF}/examples docinto examples
doins examples/*.c dodoc examples/*.c
docompress -x usr/share/doc/${PF}/examples
fi fi
find "${D}" -name '*.la' -type f -delete || die find "${D}" -name '*.la' -type f -delete || die