summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2021-12-12 17:34:03 +0100
committerAlfredo Tupone <tupone@gentoo.org>2021-12-12 17:34:03 +0100
commit2c0b83632a09c3e9d77f969f171f0db53e622d0b (patch)
tree8e1498a1400035de35158857327da1b7d6438fe8 /dev-tcltk
parentdev-tcltk/itcl: 4.2.2 bump (diff)
downloadgentoo-2c0b83632a09c3e9d77f969f171f0db53e622d0b.tar.gz
gentoo-2c0b83632a09c3e9d77f969f171f0db53e622d0b.tar.bz2
gentoo-2c0b83632a09c3e9d77f969f171f0db53e622d0b.zip
dev-tcltk/tclxml: 3.3.1 bump
Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-tcltk')
-rw-r--r--dev-tcltk/tclxml/Manifest1
-rw-r--r--dev-tcltk/tclxml/metadata.xml1
-rw-r--r--dev-tcltk/tclxml/tclxml-3.3.1.ebuild48
3 files changed, 50 insertions, 0 deletions
diff --git a/dev-tcltk/tclxml/Manifest b/dev-tcltk/tclxml/Manifest
index 3f7f335c52bb..0e19de9f7d01 100644
--- a/dev-tcltk/tclxml/Manifest
+++ b/dev-tcltk/tclxml/Manifest
@@ -1 +1,2 @@
+DIST TclXML-3.3.1.tar.gz 681802 BLAKE2B e29bcdb2ef79aa1d1f41ff1338981c0c2d0592fbd146daad102552b2609ab844b12d5de5807a9a26400860783b94df7b754d4ef96a5ab377732dcefaae3c0c21 SHA512 8ee9e36fc8cb9a68da5f810442b5b6fa8d020ef772b9ee98d7c3e429c41ec158451c8994ec5800636db8b33f39a2df7e37c6b64a20a24f7fe4e72e0bba3f2ff3
DIST tclxml-3.2.7.tar.gz 313751 BLAKE2B 43983d2d6c2f339fa320c4748f889db49fbe9cfff15219e898fdfe5a9a7d6526a2b40b7697fdca6f5272bdfb52cbe68af53ced711ad5d476dc2c5e31898c00ba SHA512 23cb17466f777538088998fa4cce55531708bba517d45cb8b4281401779c418f8532376e4aefcf4bb5f3674ee5bab2e0db25ab2a69c153d3e5820c509edf12ae
diff --git a/dev-tcltk/tclxml/metadata.xml b/dev-tcltk/tclxml/metadata.xml
index 90c01da0d799..1099a7702722 100644
--- a/dev-tcltk/tclxml/metadata.xml
+++ b/dev-tcltk/tclxml/metadata.xml
@@ -7,5 +7,6 @@
</maintainer>
<upstream>
<remote-id type="sourceforge">tclxml</remote-id>
+ <remote-id type="github">flightaware/TclXML</remote-id>
</upstream>
</pkgmetadata>
diff --git a/dev-tcltk/tclxml/tclxml-3.3.1.ebuild b/dev-tcltk/tclxml/tclxml-3.3.1.ebuild
new file mode 100644
index 000000000000..21c1b65eadf8
--- /dev/null
+++ b/dev-tcltk/tclxml/tclxml-3.3.1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MYPN=TclXML
+MYP=${MYPN}-${PV}
+
+DESCRIPTION="Pure Tcl implementation of an XML parser"
+HOMEPAGE="https://github.com/flightaware/TclXML"
+SRC_URI="https://github.com/flightaware/TclXML/archive/refs/tags/v${PV}.tar.gz
+ -> ${MYP}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
+IUSE="debug threads"
+
+DEPEND="
+ >=dev-lang/tcl-8.2:0
+ >=dev-libs/libxml2-2.6.9
+ dev-libs/libxslt
+ >=dev-tcltk/tcllib-1.2
+ dev-libs/expat"
+# test? ( dev-tcltk/tclparser )
+RDEPEND="${DEPEND}"
+
+RESTRICT="test"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-3.2-fix-implicit-declarations.patch
+)
+
+S="${WORKDIR}"/${MYP}
+
+src_configure() {
+ local myconf=""
+
+ use threads && myconf="${myconf} --enable-threads"
+
+ econf ${myconf} \
+ --with-xml2-config="${EPREFIX}"/usr/bin/xml2-config \
+ --with-xslt-config="${EPREFIX}"/usr/bin/xslt-config \
+ --with-tclinclude="${EPREFIX}"/usr/include \
+ --with-tcl="${EPREFIX}"/usr/$(get_libdir) \
+ $(use_enable amd64 64bit) \
+ $(use_enable debug symbols)
+}