summaryrefslogtreecommitdiff
path: root/app-text/libxmlpatch
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/libxmlpatch')
-rw-r--r--app-text/libxmlpatch/Manifest2
-rw-r--r--app-text/libxmlpatch/libxmlpatch-0.3.3.ebuild27
2 files changed, 16 insertions, 13 deletions
diff --git a/app-text/libxmlpatch/Manifest b/app-text/libxmlpatch/Manifest
index 5d8c749a00b8..abea20a6cbe3 100644
--- a/app-text/libxmlpatch/Manifest
+++ b/app-text/libxmlpatch/Manifest
@@ -1,4 +1,4 @@
AUX libxmlpatch-0.3.3-gentoo.patch 2029 BLAKE2B a2cced2f4a6e8c7ad53420e1c8a6d244cfc808ae398ecd4106b59c0c80c6d3b708a9bd7c6ccddd21f15b5a000faeba4d00d9510ed1eb3b4a44a34cf79e52905d SHA512 076f5ce303fa410ed48828bfd4c9544d4606511597bf39676a899fb577bc4670db83706ef05928d9e49a665089864d6fb2e22321c19217ed341265d57d2c4052
DIST libxmlpatch-0.3.3.tar.gz 405496 BLAKE2B 57333f62b95be3acc058593ccdb935148217f84acd7b5d431043cf08bc217d04abe650be099a849790400f0153523cea46905e9a12e6a33e80f0e20edc2fd9f3 SHA512 2eb305ddd6aa1778bc9c9e7b8cae5f82ee05c0ed0a47bbb651209c496fff68f4e527b7d6ad1808bc8bf1f72aaa0172a12ddb140622ce87e3cd150a0ec4d35571
-EBUILD libxmlpatch-0.3.3.ebuild 796 BLAKE2B 4dcd48c289c36e72a8d9f4208a4857081ad9d31714a7030716b5661f66422bb40b0fa038d5fe2c318187408816d427d4fd18ea619613d0a1a8f574557e167f26 SHA512 d148276949fe5f8203bd91675421e90dc002af629c81d2299efb6296715872ebcf64299c88f35483508862f1dc50325014c661923ff454893d8a3acf4e73254d
+EBUILD libxmlpatch-0.3.3.ebuild 799 BLAKE2B 61f13e2d328d26c5fd6f4985922776f1e51d041664bbe84083eb1f13b37865dfc236fa24cfdde24ebee5b995f19d3b2b07bc29ada57e39ac56ce892e3b9bb98f SHA512 4b68e1913b044f8945ded7186d63d4e274cb291f46315c3a4fff9fd1efd703d60d3efb9aad797aeec8dedc6e12a85bcc496437f159736203ceb58b3f1ed887b9
MISC metadata.xml 245 BLAKE2B e5b503817d886ea642301a8fb76459f31236d1496ba03cb467126419460106072424b6da1e1957ffaf977ac05f4c4baacef448cdf86ea4cbd93fdba026d5e8af SHA512 f884111cb1a85bb4e909b8bc6a70ca00e8d69e066fc9ef79ddbf0b3fc277bc8a47ce13bc1b7bd03a4be9bc0a54704440552394f1d1a8c68d0bf9704b8f05769f
diff --git a/app-text/libxmlpatch/libxmlpatch-0.3.3.ebuild b/app-text/libxmlpatch/libxmlpatch-0.3.3.ebuild
index 51ae4624c90c..d38ce9c286df 100644
--- a/app-text/libxmlpatch/libxmlpatch-0.3.3.ebuild
+++ b/app-text/libxmlpatch/libxmlpatch-0.3.3.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=4
+EAPI=7
-inherit eutils autotools
+inherit autotools
DESCRIPTION="A set of tools to create and apply patch to XML files using XPath"
HOMEPAGE="http://xmlpatch.sourceforge.net/"
@@ -12,30 +12,33 @@ SRC_URI="mirror://sourceforge/${PN/lib}/${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64"
-IUSE="test static-libs"
+IUSE="test"
RESTRICT="!test? ( test )"
-RDEPEND="dev-libs/glib:2
+RDEPEND="
+ dev-libs/glib:2
dev-libs/libxml2"
DEPEND="${RDEPEND}
- test? ( dev-libs/check )
- virtual/pkgconfig"
+ test? ( dev-libs/check )"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )
src_prepare() {
- epatch "${FILESDIR}"/${P}-gentoo.patch
+ default
+ mv configure.{in,ac} || die
eautoreconf
}
src_configure() {
econf \
- $(use_enable static-libs static) \
+ --disable-static \
$(use_with test check)
}
-DOCS=( LEGAL_NOTICE README TODO ChangeLog )
-
src_install() {
default
- find "${D}" -name '*.la' -delete
+ # no static archives
+ find "${D}" -name '*.la' -delete || die
}