From 98c7fa9070b6b423d52dfb59567ec7ef0d5f234d Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 23 Apr 2023 06:06:50 +0100 Subject: gentoo auto-resync : 23:04:2023 - 06:06:49 --- dev-libs/mxml/Manifest | 2 +- dev-libs/mxml/mxml-3.3.1-r1.ebuild | 63 ++++++++++++++++++++++++++++++++++++++ dev-libs/mxml/mxml-3.3.1.ebuild | 59 ----------------------------------- 3 files changed, 64 insertions(+), 60 deletions(-) create mode 100644 dev-libs/mxml/mxml-3.3.1-r1.ebuild delete mode 100644 dev-libs/mxml/mxml-3.3.1.ebuild (limited to 'dev-libs/mxml') diff --git a/dev-libs/mxml/Manifest b/dev-libs/mxml/Manifest index 8a5ef538c849..7c2cb20625c6 100644 --- a/dev-libs/mxml/Manifest +++ b/dev-libs/mxml/Manifest @@ -1,3 +1,3 @@ DIST mxml-3.3.1.tar.gz 1554784 BLAKE2B e0d599fd947dfef72edae40c1e70ea76c92105128dd46e772a7c71f9293cab3339c980396dffe105246cad64d0474935cc1939005ad9a2bffc8e8107f025a466 SHA512 43e6a92806d9c3f5db39fbf960c15ebfa6d92ef98274b7ce39b57724d6c26ad4362d6d8f3c1023efda92e6a815df068e5038a0cd479562b6be9dbdda8e827a41 -EBUILD mxml-3.3.1.ebuild 1347 BLAKE2B 00a189eb66c0d3845046ca4fde69f136612290c51612c39f275b10a9240e7ecaa09f6165f6d89e49d1e9b3b5074303f1bed5a01b1ed4298de0c88eabac1f4b71 SHA512 b35daaf4c071a63d6c073d3484533e894992387a4e3b45fcced90a906619e3f9a56e0d7e4b0f0b9366e5cae1fceacd4c4f85c7b19087f0d90950c42060b2439a +EBUILD mxml-3.3.1-r1.ebuild 1494 BLAKE2B ab7d3ad378c98fffb924dedf724181ff267b43f73dd18747b15c55dfc8838c2f57d728c5862d4c92acf88b6b122d13194f60b453df54bc022f950b886a88f40f SHA512 785dcffc1909acbced83f29755983cfc07a9392f47f2908bd115230fa608c158651645659686efc0c36e937444c943b4985a5fb32cbae00d347ad65c15dca457 MISC metadata.xml 1380 BLAKE2B ba169e7d7bf4572b56e2cc8923a48fce4b31af61107bd908d77f4a211aa096b4f0adfed9ae1d52cbad6b4309793f545cbd562a553e0c5aa1d0786b088f472cd7 SHA512 2895d86c62cb799302ba1515a3b638d52ca253f78e07bcc542bbb99338b84bc2079d48f42fb85a627e9252a545a853629943f9a904ead600aff161a24e1f1658 diff --git a/dev-libs/mxml/mxml-3.3.1-r1.ebuild b/dev-libs/mxml/mxml-3.3.1-r1.ebuild new file mode 100644 index 000000000000..615baea02a93 --- /dev/null +++ b/dev-libs/mxml/mxml-3.3.1-r1.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="A small XML parsing library that you can use to read XML data files or strings" +HOMEPAGE=" + https://github.com/michaelrsweet/mxml + https://www.msweet.org/mxml/ +" +SRC_URI="https://github.com/michaelrsweet/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Mini-XML" +SLOT="0" +KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ppc ~ppc64 ~riscv ~sparc x86" +IUSE="static-libs threads" + +BDEPEND="virtual/pkgconfig" + +src_prepare() { + default + + # Don't hardcode FORTIFY_SOURCe + sed -e 's/-D_FORTIFY_SOURCE=2//g' -i configure || die + sed -e 's/-D_FORTIFY_SOURCE=2//g' -i configure.ac || die + + # Don't run always tests + # Enable verbose compiling + sed -e '/ALLTARGETS/s/testmxml//g' -e '/.SILENT:/d' -i Makefile.in || die + + # Build only static-libs, when requested by user, also build docs without static-libs in that case + if ! use static-libs; then + local mysedopts=( + -e '/^install:/s/install-libmxml.a//g' + -e '/^mxml.xml:/s/-static//g' + -e '/^mxml.epub:/s/-static//g' + -e '/^valgrind/s/-static//g' + -e 's/.\/mxmldoc-static/LD_LIBRARY_PATH="." .\/mxmldoc/g' + ) + sed "${mysedopts[@]}" -i Makefile.in || die + fi + + eautoconf +} + +src_configure() { + local myeconfargs=( + $(use_enable threads) + --with-docdir=/usr/share/doc/"${PF}" + ) + + econf "${myeconfargs[@]}" +} + +src_test() { + emake testmxml +} + +src_install() { + emake DSTROOT="${ED}" install +} diff --git a/dev-libs/mxml/mxml-3.3.1.ebuild b/dev-libs/mxml/mxml-3.3.1.ebuild deleted file mode 100644 index b1d9680dc6ab..000000000000 --- a/dev-libs/mxml/mxml-3.3.1.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools - -DESCRIPTION="A small XML parsing library that you can use to read XML data files or strings" -HOMEPAGE=" - https://github.com/michaelrsweet/mxml - https://www.msweet.org/mxml/ -" -SRC_URI="https://github.com/michaelrsweet/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Mini-XML" -SLOT="0" -KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ppc ~ppc64 ~riscv ~sparc x86" -IUSE="static-libs threads" - -BDEPEND="virtual/pkgconfig" - -src_prepare() { - default - - # Don't run always tests - # Enable verbose compiling - sed -e '/ALLTARGETS/s/testmxml//g' -e '/.SILENT:/d' -i Makefile.in || die - - # Build only static-libs, when requested by user, also build docs without static-libs in that case - if ! use static-libs; then - local mysedopts=( - -e '/^install:/s/install-libmxml.a//g' - -e '/^mxml.xml:/s/-static//g' - -e '/^mxml.epub:/s/-static//g' - -e '/^valgrind/s/-static//g' - -e 's/.\/mxmldoc-static/LD_LIBRARY_PATH="." .\/mxmldoc/g' - ) - sed "${mysedopts[@]}" -i Makefile.in || die - fi - - eautoconf -} - -src_configure() { - local myeconfargs=( - $(use_enable threads) - --with-docdir=/usr/share/doc/"${PF}" - ) - - econf "${myeconfargs[@]}" -} - -src_test() { - emake testmxml -} - -src_install() { - emake DSTROOT="${ED}" install -} -- cgit v1.2.3