From 4215622c05ed14d30fdad5a4d0feba6d94b0d046 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 25 Feb 2024 11:40:32 +0000 Subject: gentoo auto-resync : 25:02:2024 - 11:40:31 --- dev-tcltk/tclxml/tclxml-3.3.1-r2.ebuild | 53 +++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 dev-tcltk/tclxml/tclxml-3.3.1-r2.ebuild (limited to 'dev-tcltk/tclxml/tclxml-3.3.1-r2.ebuild') diff --git a/dev-tcltk/tclxml/tclxml-3.3.1-r2.ebuild b/dev-tcltk/tclxml/tclxml-3.3.1-r2.ebuild new file mode 100644 index 000000000000..0ef7c12a88f0 --- /dev/null +++ b/dev-tcltk/tclxml/tclxml-3.3.1-r2.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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:= + >=dev-libs/libxml2-2.6.9 + dev-libs/libxslt + >=dev-tcltk/tcllib-1.2 + dev-libs/expat" +# test? ( dev-tcltk/tclparser ) +RDEPEND="${DEPEND}" + +QA_CONFIG_IMPL_DECL_SKIP=( + stat64 # used to test for Large File Support +) + +RESTRICT="test" + +PATCHES=( + "${FILESDIR}"/${PN}-3.2-fix-implicit-declarations.patch + "${FILESDIR}"/${P}-funcPointer.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) +} -- cgit v1.2.3