summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/xmlstarlet/xmlstarlet-1.5.0.ebuild')
-rw-r--r--app-text/xmlstarlet/xmlstarlet-1.5.0.ebuild40
1 files changed, 40 insertions, 0 deletions
diff --git a/app-text/xmlstarlet/xmlstarlet-1.5.0.ebuild b/app-text/xmlstarlet/xmlstarlet-1.5.0.ebuild
new file mode 100644
index 000000000000..06e6731711cf
--- /dev/null
+++ b/app-text/xmlstarlet/xmlstarlet-1.5.0.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="4"
+
+DESCRIPTION="A set of tools to transform, query, validate, and edit XML documents"
+HOMEPAGE="http://xmlstar.sourceforge.net/"
+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
+ virtual/libiconv"
+
+DEPEND="${RDEPEND}
+ sys-apps/sed"
+
+src_configure() {
+ # 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
+}
+
+src_install() {
+ default
+
+ dosym xml /usr/bin/xmlstarlet
+}