summaryrefslogtreecommitdiff
path: root/app-text/sablotron
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /app-text/sablotron
reinit the tree, so we can have metadata
Diffstat (limited to 'app-text/sablotron')
-rw-r--r--app-text/sablotron/Manifest7
-rw-r--r--app-text/sablotron/files/1.0.3-libsablot-expat.patch10
-rw-r--r--app-text/sablotron/metadata.xml5
-rw-r--r--app-text/sablotron/sablotron-1.0.3-r1.ebuild44
-rw-r--r--app-text/sablotron/sablotron-1.0.3.ebuild45
5 files changed, 111 insertions, 0 deletions
diff --git a/app-text/sablotron/Manifest b/app-text/sablotron/Manifest
new file mode 100644
index 000000000000..002a9538c584
--- /dev/null
+++ b/app-text/sablotron/Manifest
@@ -0,0 +1,7 @@
+AUX 1.0.3-libsablot-expat.patch 286 SHA256 5721c00006a06a991bb171c85ffc794348bbe732bae68447a26457621eedda89 SHA512 29b7ae2798696439d3b181196677a7e7beacecac39abae631c73aff2d77e608bbf0088100953db78feb82cba37f89350da238cf8053e694c8ff0b3d8e8837040 WHIRLPOOL 135c03dacf33d923c4c52c138d6c47877c415231e9075652b68aa9efd793bd0bccfd0655eca25152249238b67af37aa172bf647d739caec2b865b9b4da582b69
+DIST Sablot-1.0.3.tar.gz 607597 SHA256 a0c737ada78d0d305a2a964595167e0c6d17ff0afd3b801714768deb681bf362 SHA512 836c1a9d09317194333619461b0e5ea312277cadb6df5ae5ed327bdfee4090970bd3056ec0b3bd6aa8a3e3289af1bc5c1461c9fe15b53a944f1042190c485031 WHIRLPOOL 4422053971238feebb798a22d5d82581f1f62e361cfd4bf5eff38ed7d87dffb6d9093a56dc3b992674987025de3fdec107d0c7de9138ceeabaab3281fb84ae83
+EBUILD sablotron-1.0.3-r1.ebuild 1062 SHA256 7b29809e7f04d90590a9e07fedb865950d19d81186f0fb7f53e3639fa9f8c13e SHA512 0e0bf8ece2c8ed9387f998bbf1033cd3c862e0cca3332d21d01a394879b9171f7fcf8dd9dc3e78fbf3f9866397e9d0118ad6e1fdc64fd76b1ac107886a88efea WHIRLPOOL 71d96792f7b7446d57d430117412a4e5c94eceeb726b056b5400e325d7146a92e85811fd1b41bc376ea8ad252faa354d13a8a40e16aacbbe02a9079e92dba8a2
+EBUILD sablotron-1.0.3.ebuild 1092 SHA256 26d0fa201d506cf91c57725dcddcfad6370c6a436faa32e44f75bd1186bbd0bc SHA512 99577a5aa616f985af56735a42928ca36a6367c86e0b191fc699b4b2848b04f40f24616f7afdd7e70c44217e707d1fb8c40430362109547bb2c06c702292432c WHIRLPOOL f0cad93726a6093fd59dcc548ccfa8b1590c72fe2769c9fd8108ce8bb05717b3effa19c0ce43b71e6f80fd8e41192d763c844325dea903e3bd1f885187c5e02e
+MISC ChangeLog 2564 SHA256 053134630acbf3a9e6ed6eec4962d61fc52b93e2c93f358c5d419c5022155c2b SHA512 c117662e77da2a7c3e7497446231f4067f8e28eddf7e775d82f60a8d675fa558a36ddb5328947abd3746edee3697c32ab8965aa5736a85503f2f38ab89b33f99 WHIRLPOOL a0be81eaa9c658574d8c97542074be1eb1f18b460c81c2f37f06eed27f87248504086e9766b31c9d04d03b9242da7447780ff4c9ba2898f08c28ae387250297b
+MISC ChangeLog-2015 9591 SHA256 fa4cdd251a84e10ad4366981806fd58fbb817c06f497850194ff9337e18e20a1 SHA512 2b07f1528cad1a858bc348d02206570833336e8b4d25022af968eeb2a31ed9747f35b1864b8568be78ed8043971f925b9efcc9e66dd26fecb50c5de2a9580a19 WHIRLPOOL 1235cf57a0ee53e40d489e4cb791884377bf888c61e75ece1a132ddc2ebe25e55bd0f211945e05d3c15abe2b8e75252cd70baa02b186fd8b1f0839579d629b97
+MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968
diff --git a/app-text/sablotron/files/1.0.3-libsablot-expat.patch b/app-text/sablotron/files/1.0.3-libsablot-expat.patch
new file mode 100644
index 000000000000..328c9e906856
--- /dev/null
+++ b/app-text/sablotron/files/1.0.3-libsablot-expat.patch
@@ -0,0 +1,10 @@
+diff --git a/src/engine/Makefile.am b/src/engine/Makefile.am
+index abd2041..1307b1c 100644
+--- a/src/engine/Makefile.am
++++ b/src/engine/Makefile.am
+@@ -76,4 +76,5 @@ include_HEADERS = \
+ sabcfg.h
+
+ libsablot_la_LDFLAGS = -version-info 100:3:100
++libsablot_la_LIBADD = @EXPAT_LIBS@
+
diff --git a/app-text/sablotron/metadata.xml b/app-text/sablotron/metadata.xml
new file mode 100644
index 000000000000..6f49eba8f496
--- /dev/null
+++ b/app-text/sablotron/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+</pkgmetadata>
diff --git a/app-text/sablotron/sablotron-1.0.3-r1.ebuild b/app-text/sablotron/sablotron-1.0.3-r1.ebuild
new file mode 100644
index 000000000000..4bceeb87bd16
--- /dev/null
+++ b/app-text/sablotron/sablotron-1.0.3-r1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools
+
+MY_PN="Sablot"
+MY_P="${MY_PN}-${PV}"
+S=${WORKDIR}/${MY_P}
+
+DESCRIPTION="An XSLT Parser in C++"
+HOMEPAGE="http://www.gingerall.org/sablotron.html"
+SRC_URI="http://download-1.gingerall.cz/download/sablot/${MY_P}.tar.gz"
+
+# Sablotron can optionally be built under GPL, using MPL for now
+LICENSE="MPL-1.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="perl"
+
+RDEPEND=">=dev-libs/expat-1.95.6-r1"
+DEPEND="${RDEPEND}
+ >=dev-perl/XML-Parser-2.3"
+
+PATCHES=( "${FILESDIR}/1.0.3-libsablot-expat.patch" )
+
+src_prepare() {
+ default
+ sed -i configure.in -e 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|g' || die
+ eautoreconf
+ elibtoolize
+}
+
+src_configure() {
+ econf \
+ $(use_enable perl perlconnect) \
+ --with-html-dir="${EPREFIX}"/usr/share/doc/${PF}/html
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ dodoc README README_JS RELEASE src/TODO
+}
diff --git a/app-text/sablotron/sablotron-1.0.3.ebuild b/app-text/sablotron/sablotron-1.0.3.ebuild
new file mode 100644
index 000000000000..c9118189fdc2
--- /dev/null
+++ b/app-text/sablotron/sablotron-1.0.3.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="3"
+
+inherit base autotools
+
+MY_PN="Sablot"
+MY_P="${MY_PN}-${PV}"
+S=${WORKDIR}/${MY_P}
+
+DESCRIPTION="An XSLT Parser in C++"
+HOMEPAGE="http://www.gingerall.org/sablotron.html"
+SRC_URI="http://download-1.gingerall.cz/download/sablot/${MY_P}.tar.gz"
+
+# Sablotron can optionally be built under GPL, using MPL for now
+LICENSE="MPL-1.1"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="perl"
+
+RDEPEND=">=dev-libs/expat-1.95.6-r1"
+DEPEND="${RDEPEND}
+ >=dev-perl/XML-Parser-2.3"
+
+PATCHES=( "${FILESDIR}/1.0.3-libsablot-expat.patch" )
+
+src_prepare() {
+ base_src_prepare
+ sed -i configure.in -e 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|g' || die
+ eautoreconf
+ elibtoolize
+}
+
+src_configure() {
+ econf \
+ $(use_enable perl perlconnect) \
+ --with-html-dir="${EPREFIX}"/usr/share/doc/${PF}/html
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "Install failed"
+
+ dodoc README README_JS RELEASE src/TODO
+}