]> Pileus Git - ~andy/sunrise/commitdiff
dev-util/xml-core: New Ebuild for bug #445014. Thanks for the review hasufell.
authorMatthew Schultz <mattsch@gmail.com>
Tue, 27 Nov 2012 23:01:43 +0000 (17:01 -0600)
committerMatthew Schultz <mattsch@gmail.com>
Tue, 27 Nov 2012 23:01:43 +0000 (17:01 -0600)
dev-util/xml-core/ChangeLog [new file with mode: 0644]
dev-util/xml-core/Manifest [new file with mode: 0644]
dev-util/xml-core/metadata.xml [new file with mode: 0644]
dev-util/xml-core/xml-core-0.13_p2.ebuild [new file with mode: 0644]

diff --git a/dev-util/xml-core/ChangeLog b/dev-util/xml-core/ChangeLog
new file mode 100644 (file)
index 0000000..8c5525b
--- /dev/null
@@ -0,0 +1,10 @@
+# ChangeLog for dev-util/xml-core
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*xml-core-0.13_p2 (27 Nov 2012)
+
+  27 Nov 2012; Matthew Schultz (mschultz) <mattsch@gmail.com>
+  +xml-core-0.13_p2.ebuild, +metadata.xml:
+  New Ebuild for bug #445014. Thanks for the review hasufell.
+
diff --git a/dev-util/xml-core/Manifest b/dev-util/xml-core/Manifest
new file mode 100644 (file)
index 0000000..4251889
--- /dev/null
@@ -0,0 +1,4 @@
+DIST xml-core_0.13+nmu2.tar.gz 23436 SHA256 cd3f5402265a9ab0e7e4a6efafdc5eb9cb02d33c3e75d1ff1ecb0ac0899e242b SHA512 7d5e82cfa483667ac1b0d1d9200c1886ed03d8011a80772691cd3a68976b626c83599947ea1d5c7eea2adc901bb1fd1ec22c658ba1cc0723c2bf8124b26ccde8 WHIRLPOOL 9706e01613957fc044792bf1be9599a85c6b6feb94e7953a5fe91410dfbc7b5621d28d076e993c05bde04736d79e7140b661199178ac255672316cd9b3a171b5
+EBUILD xml-core-0.13_p2.ebuild 1181 SHA256 3966cf8741c85a91fa9f9bd6b8bd723f8a2e0495fd2a93cb77f82b5ce915688e SHA512 524ddfb71f2a22318cdacbc6c013367e6232d0a320004869b700da25887ac7c29e56539df80feb1a32bb046bfe0f225103c082b5582ee36efdbb36f18b6f9540 WHIRLPOOL 392b5629f82569fccb96ef632a67f2212c6d560023b1686ab4c309463cd13c30d6667fe4346f7a079eb5398e97f8a2b45a02320aa317e5ed1aee0f26b304cf11
+MISC ChangeLog 319 SHA256 a606aebd95fb05dc52345399c64520b13f4b993ff2065fa60c485934e90dc31c SHA512 d372e1dd0f722ea2a28bc4cc1dbe1dab93dcebc879cb6e4ffe2171e1ee2faf5f3c61d3022f92d9db5cbff63c9de6e098302d637d48d6cc57d4e627e32360ef61 WHIRLPOOL 8d2d04c22fdac10bedfbda7437f128a5fd729ed1a076e789cb07d381224e71033165a375a3298972cc544caf83cf67e436ec12d1e9dd250fd1b241ccd563c1bf
+MISC metadata.xml 405 SHA256 a37fd2a3087329e0c4c23b8b78473834c3934d36da84fdd8cd73de43b9c16989 SHA512 87386e6f0303b495f36d141fcfb8d6cb6c0c857b149b6cbdeca90f9e1f84e4f245efd7ec99dde876e2cf5338db067615c56bc32441a84e25c2a222e42da5f9d6 WHIRLPOOL 6822e39614eb8b3059d6638754163bd0e83074e79eb7d7d89079704436896212f8605bf5eee7f8e2a50d4c5836b611eb2d390f72483c0a45f0a3dbffd03db2f5
diff --git a/dev-util/xml-core/metadata.xml b/dev-util/xml-core/metadata.xml
new file mode 100644 (file)
index 0000000..12a8985
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <maintainer><email>maintainer-wanted@gentoo.org</email></maintainer>
+  <longdescription>
+  This package creates the XML infrastructure directories and provides 
+  XML catalog file support in compliance with the current Debian XML Policy draft
+  </longdescription>
+</pkgmetadata>
diff --git a/dev-util/xml-core/xml-core-0.13_p2.ebuild b/dev-util/xml-core/xml-core-0.13_p2.ebuild
new file mode 100644 (file)
index 0000000..80af52b
--- /dev/null
@@ -0,0 +1,51 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="5"
+
+inherit versionator sgml-catalog
+
+MY_PV=$(replace_version_separator 2 '+')
+MY_PV=${MY_PV/p/nmu}
+
+DESCRIPTION="XML infrastructure and XML catalog file support"
+HOMEPAGE="http://packages.debian.org/xml-core"
+SRC_URI="mirror://debian/pool/main/x/${PN}/${PN}_${MY_PV}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="examples"
+
+DEPEND="dev-lang/perl"
+RDEPEND="app-text/sgml-base
+       dev-util/debhelper
+       virtual/perl-File-Spec
+       virtual/perl-Getopt-Long
+       ${DEPEND}"
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+sgml-catalog_cat_include "/etc/sgml/${P}.cat" \
+       "/usr/share/sgml/dtd/xml-core/catalog"
+
+src_compile() {
+       emake prefix="${D}"/usr
+}
+
+src_install() {
+       emake prefix="${D}"/usr install
+       insinto /usr/share/sgml/dtd/${PN}
+       doins schemas/{catalog,catalog.dtd}
+       insinto /usr/share/xml/schema/${PN}
+       doins schemas/catalog.xml
+       keepdir /var/lib/${PN}
+       insinto /usr/share/lintian/overrides
+       doins debian/lintian-overrides/xml-core
+       dodoc debian/{README.Debian,TODO,changelog}
+       if use examples; then
+               insinto /usr/share/doc/${PF}
+               doins -r examples
+       fi
+}