Install xmlstarlet file as a symlink (bug #103306)
authorLeonardo Boshell <leonardop@gentoo.org>
Wed, 14 Mar 2007 07:26:38 +0000 (07:26 +0000)
committerLeonardo Boshell <leonardop@gentoo.org>
Wed, 14 Mar 2007 07:26:38 +0000 (07:26 +0000)
Package-Manager: portage-2.1.2.2

app-text/xmlstarlet/ChangeLog
app-text/xmlstarlet/Manifest
app-text/xmlstarlet/files/digest-xmlstarlet-1.0.1-r1 [new file with mode: 0644]
app-text/xmlstarlet/xmlstarlet-1.0.1-r1.ebuild [new file with mode: 0644]
app-text/xmlstarlet/xmlstarlet-1.0.1.ebuild

index 45ff0fd0fdde55152f3c7afd91fceeea7a9f86c9..e739beba7ca49dcc6172076d08d4a1bc07a6e916 100644 (file)
@@ -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:
index c07c0f002ab8dacc478654864d7713a617ad6f56..28199ad75334e323b9ca6b46481993b5d37745eb 100644 (file)
@@ -1,12 +1,16 @@
 DIST xmlstarlet-1.0.1.tar.gz 320847 RMD160 daa43d5731d9868a2f31c34908212cbc3896a08d SHA1 48fb2fa7ac9c2c6640b4f21f44459cb08369c18b SHA256 161c24cfbc54e141c230d2a12b91f21dfd552fde4c9f4b0cf975dd691580d698
-EBUILD xmlstarlet-1.0.1.ebuild 914 RMD160 2c8c0d8a6783838de4ba31783d9ef21f589f7a10 SHA1 4815047942c9c73c0ecc551f927c0f135a6a90d9 SHA256 94dfba9ea635215bfee81bd52352aa232999b19c7d78de922a2b46256961166b
-MD5 f8a30e3f750e58dd60d764745a16ee8c xmlstarlet-1.0.1.ebuild 914
-RMD160 2c8c0d8a6783838de4ba31783d9ef21f589f7a10 xmlstarlet-1.0.1.ebuild 914
-SHA256 94dfba9ea635215bfee81bd52352aa232999b19c7d78de922a2b46256961166b xmlstarlet-1.0.1.ebuild 914
-MISC ChangeLog 1825 RMD160 568ce255c791ccfe7489108a15b48d4a43ce3164 SHA1 a9faea7716ae96d7504e0dfdf27a0eac487b85ab SHA256 115766d74ceaf318cef98e7c804a3755cc73bf71cf853f562c378e93172cbf95
-MD5 9ac5aa680978149b27162b22c0d86e92 ChangeLog 1825
-RMD160 568ce255c791ccfe7489108a15b48d4a43ce3164 ChangeLog 1825
-SHA256 115766d74ceaf318cef98e7c804a3755cc73bf71cf853f562c378e93172cbf95 ChangeLog 1825
+EBUILD xmlstarlet-1.0.1-r1.ebuild 1033 RMD160 a34c300e3b1e252c771fffbd76f3aa6cce6742c7 SHA1 292b6236991383fc234d4199a6a7f701c7b53d2d SHA256 ab12548bbaba5d81df9c89543e745febdf80a1e04c40626f3b1791f18ff65d6a
+MD5 554327f47d778737530455c58e44e554 xmlstarlet-1.0.1-r1.ebuild 1033
+RMD160 a34c300e3b1e252c771fffbd76f3aa6cce6742c7 xmlstarlet-1.0.1-r1.ebuild 1033
+SHA256 ab12548bbaba5d81df9c89543e745febdf80a1e04c40626f3b1791f18ff65d6a xmlstarlet-1.0.1-r1.ebuild 1033
+EBUILD xmlstarlet-1.0.1.ebuild 917 RMD160 ac73b6e6b2f13480a5f7d33368485f04e6fc36cc SHA1 bcc2f2a9858f39d52ca4060eb814a22a928a2496 SHA256 d08e34a3f0ad5ae3f576687a2537bb47d2b4ab6532be3880922dca24d8696e91
+MD5 365652499c4005c7860c1ddc5f5b1c50 xmlstarlet-1.0.1.ebuild 917
+RMD160 ac73b6e6b2f13480a5f7d33368485f04e6fc36cc xmlstarlet-1.0.1.ebuild 917
+SHA256 d08e34a3f0ad5ae3f576687a2537bb47d2b4ab6532be3880922dca24d8696e91 xmlstarlet-1.0.1.ebuild 917
+MISC ChangeLog 2204 RMD160 f9a88afcf422cf01f1a55ed651b820e5cad2a2ca SHA1 58afd335ac381f83e3801701214962d61c2441b3 SHA256 d58771fbeb2f95c9130cb3205ea83edf26194a1a129e86eb1cd4bede26dfcb30
+MD5 deaa6b6f434522a97366b1c3d9db05fc ChangeLog 2204
+RMD160 f9a88afcf422cf01f1a55ed651b820e5cad2a2ca ChangeLog 2204
+SHA256 d58771fbeb2f95c9130cb3205ea83edf26194a1a129e86eb1cd4bede26dfcb30 ChangeLog 2204
 MISC metadata.xml 159 RMD160 a94e7b2c191d1593b8bc416d266571e001c2f673 SHA1 3c1d0831d8acacef390234d20d7711cabded861a SHA256 52cf1b9dda72e2d61fef95515c8a124ac9f1196e5509e5636e269f396fcba8a3
 MD5 f6f50979d39d8d194c09b8f7833219aa metadata.xml 159
 RMD160 a94e7b2c191d1593b8bc416d266571e001c2f673 metadata.xml 159
@@ -14,3 +18,6 @@ SHA256 52cf1b9dda72e2d61fef95515c8a124ac9f1196e5509e5636e269f396fcba8a3 metadata
 MD5 3bfd117a02b8961f587261da248ab315 files/digest-xmlstarlet-1.0.1 250
 RMD160 9312bd139635a46fdec5ddce18a445ef08bb2004 files/digest-xmlstarlet-1.0.1 250
 SHA256 dc648741438f1f812e58c697be66689b35f99e02104ef97c23483b2a486fd869 files/digest-xmlstarlet-1.0.1 250
+MD5 3bfd117a02b8961f587261da248ab315 files/digest-xmlstarlet-1.0.1-r1 250
+RMD160 9312bd139635a46fdec5ddce18a445ef08bb2004 files/digest-xmlstarlet-1.0.1-r1 250
+SHA256 dc648741438f1f812e58c697be66689b35f99e02104ef97c23483b2a486fd869 files/digest-xmlstarlet-1.0.1-r1 250
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 (file)
index 0000000..181c97a
--- /dev/null
@@ -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 (file)
index 0000000..5290a51
--- /dev/null
@@ -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."
+}
index bc9b25eee196d2bfe6755d645a5abaca902d5a6d..b0f1d3a42dcd4d75ba2bef1b75a91882dced11d5 100644 (file)
@@ -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