1 # Copyright 1999-2017 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
12 DESCRIPTION="An XSLT Parser in C++"
13 HOMEPAGE="http://www.gingerall.org/sablotron.html"
14 SRC_URI="http://download-1.gingerall.cz/download/sablot/${MY_P}.tar.gz"
16 # Sablotron can optionally be built under GPL, using MPL for now
19 KEYWORDS="~alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
22 RDEPEND=">=dev-libs/expat-1.95.6-r1"
24 >=dev-perl/XML-Parser-2.3"
26 PATCHES=( "${FILESDIR}/1.0.3-libsablot-expat.patch" )
30 sed -i configure.in -e 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|g' || die
37 $(use_enable perl perlconnect) \
38 --with-html-dir="${EPREFIX}"/usr/share/doc/${PF}/html
42 emake DESTDIR="${D}" install
43 dodoc README README_JS RELEASE src/TODO