summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2020-01-21 22:50:43 +0100
committerDavid Seifert <soap@gentoo.org>2020-01-21 22:50:43 +0100
commit797bcd6e68bec1123145981ea92d7210e86b06b8 (patch)
tree357a279a292edd93fee21c577a6e4027c83b2242 /app-text
parentapp-text/xml2: Port to EAPI 7 (diff)
downloadgentoo-797bcd6e68bec1123145981ea92d7210e86b06b8.tar.gz
gentoo-797bcd6e68bec1123145981ea92d7210e86b06b8.tar.bz2
gentoo-797bcd6e68bec1123145981ea92d7210e86b06b8.zip
app-text/xmlstarlet: Port to EAPI 7
Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'app-text')
-rw-r--r--app-text/xmlstarlet/xmlstarlet-1.6.1.ebuild26
1 files changed, 13 insertions, 13 deletions
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
}