diff options
author | Leonardo Boshell <leonardop@gentoo.org> | 2007-03-14 07:26:38 +0000 |
---|---|---|
committer | Leonardo Boshell <leonardop@gentoo.org> | 2007-03-14 07:26:38 +0000 |
commit | 7e150bb426b1d7c071e89da7468e6fd373df0299 (patch) | |
tree | 63e8c1dbae40db8f8328eab2141d148b50d9536f /app-text/xmlstarlet | |
parent | stable x86, bug 170791 (diff) | |
download | gentoo-2-7e150bb426b1d7c071e89da7468e6fd373df0299.tar.gz gentoo-2-7e150bb426b1d7c071e89da7468e6fd373df0299.tar.bz2 gentoo-2-7e150bb426b1d7c071e89da7468e6fd373df0299.zip |
Install xmlstarlet file as a symlink (bug #103306)
(Portage version: 2.1.2.2)
Diffstat (limited to 'app-text/xmlstarlet')
-rw-r--r-- | app-text/xmlstarlet/ChangeLog | 11 | ||||
-rw-r--r-- | app-text/xmlstarlet/files/digest-xmlstarlet-1.0.1-r1 | 3 | ||||
-rw-r--r-- | app-text/xmlstarlet/xmlstarlet-1.0.1-r1.ebuild | 41 | ||||
-rw-r--r-- | app-text/xmlstarlet/xmlstarlet-1.0.1.ebuild | 4 |
4 files changed, 56 insertions, 3 deletions
diff --git a/app-text/xmlstarlet/ChangeLog b/app-text/xmlstarlet/ChangeLog index 45ff0fd0fdde..e739beba7ca4 100644 --- a/app-text/xmlstarlet/ChangeLog +++ b/app-text/xmlstarlet/ChangeLog @@ -1,6 +1,15 @@ # ChangeLog for app-text/xmlstarlet # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/xmlstarlet/ChangeLog,v 1.11 2007/03/13 00:36:20 leonardop Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/xmlstarlet/ChangeLog,v 1.12 2007/03/14 07:26:38 leonardop Exp $ + +*xmlstarlet-1.0.1-r1 (14 Mar 2007) + + 14 Mar 2007; Leonardo Boshell <leonardop@gentoo.org> + +xmlstarlet-1.0.1-r1.ebuild: + Provide xmlstarlet as a symlink to be consistent with man page (bug + #103306). Don't install NEWS since it's an empty document. Define + LIBXML_LIBS and LIBXSLT_LIBS through pkg-config instead of doing it + manually, and fixed dependencies accordingly. 13 Mar 2007; Leonardo Boshell <leonardop@gentoo.org> metadata.xml, -xmlstarlet-1.0.0.ebuild: diff --git a/app-text/xmlstarlet/files/digest-xmlstarlet-1.0.1-r1 b/app-text/xmlstarlet/files/digest-xmlstarlet-1.0.1-r1 new file mode 100644 index 000000000000..181c97a52e25 --- /dev/null +++ b/app-text/xmlstarlet/files/digest-xmlstarlet-1.0.1-r1 @@ -0,0 +1,3 @@ +MD5 8deb71834bcdfb4443c258a1f0042fce xmlstarlet-1.0.1.tar.gz 320847 +RMD160 daa43d5731d9868a2f31c34908212cbc3896a08d xmlstarlet-1.0.1.tar.gz 320847 +SHA256 161c24cfbc54e141c230d2a12b91f21dfd552fde4c9f4b0cf975dd691580d698 xmlstarlet-1.0.1.tar.gz 320847 diff --git a/app-text/xmlstarlet/xmlstarlet-1.0.1-r1.ebuild b/app-text/xmlstarlet/xmlstarlet-1.0.1-r1.ebuild new file mode 100644 index 000000000000..5290a51dfaaa --- /dev/null +++ b/app-text/xmlstarlet/xmlstarlet-1.0.1-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/xmlstarlet/xmlstarlet-1.0.1-r1.ebuild,v 1.1 2007/03/14 07:26:38 leonardop Exp $ + +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="~amd64 ~ppc ~x86" +IUSE="" + +RDEPEND=">=dev-libs/libxml2-2.6.12 + >=dev-libs/libxslt-1.1.9" + +DEPEND="${RDEPEND} + dev-util/pkgconfig" + + +src_compile() { + local xsltlibs=$(pkg-config --libs libxslt libexslt) + local xmllibs=$(pkg-config --libs libxml-2.0) + + LIBXSLT_LIBS="${xsltlibs}" LIBXML_LIBS="${xmllibs}" econf || die + emake || die "Compilation failed" +} + +src_install() { + make DESTDIR="${D}" install || die "Installation failed" + + dosym /usr/bin/xml /usr/bin/xmlstarlet + + dodoc AUTHORS ChangeLog README TODO + dohtml -r * +} + +src_test() { + cd tests + sh runTests || die "sh runTests failed." +} diff --git a/app-text/xmlstarlet/xmlstarlet-1.0.1.ebuild b/app-text/xmlstarlet/xmlstarlet-1.0.1.ebuild index bc9b25eee196..b0f1d3a42dcd 100644 --- a/app-text/xmlstarlet/xmlstarlet-1.0.1.ebuild +++ b/app-text/xmlstarlet/xmlstarlet-1.0.1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/xmlstarlet/xmlstarlet-1.0.1.ebuild,v 1.5 2006/04/20 23:18:50 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/xmlstarlet/xmlstarlet-1.0.1.ebuild,v 1.6 2007/03/14 07:26:38 leonardop Exp $ inherit flag-o-matic |