From 797bcd6e68bec1123145981ea92d7210e86b06b8 Mon Sep 17 00:00:00 2001 From: David Seifert Date: Tue, 21 Jan 2020 22:50:43 +0100 Subject: app-text/xmlstarlet: Port to EAPI 7 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: David Seifert --- app-text/xmlstarlet/xmlstarlet-1.6.1.ebuild | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'app-text/xmlstarlet') diff --git a/app-text/xmlstarlet/xmlstarlet-1.6.1.ebuild b/app-text/xmlstarlet/xmlstarlet-1.6.1.ebuild index 96f6d174f1ce..48e432677af1 100644 --- a/app-text/xmlstarlet/xmlstarlet-1.6.1.ebuild +++ b/app-text/xmlstarlet/xmlstarlet-1.6.1.ebuild @@ -1,7 +1,9 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="4" +EAPI=7 + +inherit flag-o-matic toolchain-funcs DESCRIPTION="A set of tools to transform, query, validate, and edit XML documents" HOMEPAGE="http://xmlstar.sourceforge.net/" @@ -10,30 +12,28 @@ SRC_URI="mirror://sourceforge/xmlstar/${P}.tar.gz" LICENSE="MIT" SLOT="0" KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ppc ~s390 ~sh ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" -IUSE="" -RDEPEND=">=dev-libs/libxml2-2.6.27 - >=dev-libs/libxslt-1.1.9 - dev-libs/libgcrypt:0 +RDEPEND=" + dev-libs/libxml2 + dev-libs/libxslt + dev-libs/libgcrypt:0= virtual/libiconv" - -DEPEND="${RDEPEND} - sys-apps/sed" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" src_configure() { + append-cppflags $($(tc-getPKG_CONFIG) --cflags libxml-2.0) + # NOTE: Fully built documentation is already shipped with the tarball: # - doc/xmlstarlet-ug.{pdf,ps,html} # - doc/xmlstarlet.txt # - doc/xmlstarlet.1 econf \ - --docdir="${EPREFIX}/usr/share/doc/${PF}" \ --disable-build-docs \ - --disable-static-libs \ - --disable-silent-rules + --disable-static-libs } src_install() { default - dosym xml /usr/bin/xmlstarlet } -- cgit v1.2.3-65-gdbad