diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-08-25 10:45:55 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-08-25 10:45:55 +0100 |
commit | 3cf7c3ef441822c889356fd1812ebf2944a59851 (patch) | |
tree | c513fe68548b40365c1c2ebfe35c58ad431cdd77 /app-text/sablotron/sablotron-1.0.3-r2.ebuild | |
parent | 05b8b0e0af1d72e51a3ee61522941bf7605cd01c (diff) |
gentoo resync : 25.08.2020
Diffstat (limited to 'app-text/sablotron/sablotron-1.0.3-r2.ebuild')
-rw-r--r-- | app-text/sablotron/sablotron-1.0.3-r2.ebuild | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/app-text/sablotron/sablotron-1.0.3-r2.ebuild b/app-text/sablotron/sablotron-1.0.3-r2.ebuild new file mode 100644 index 000000000000..9910b99b55bb --- /dev/null +++ b/app-text/sablotron/sablotron-1.0.3-r2.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools + +MY_PN="Sablot" +MY_P="${MY_PN}-${PV}" +S=${WORKDIR}/${MY_P} + +DESCRIPTION="An XSLT Parser in C++" +HOMEPAGE="https://sourceforge.net/projects/sablotron/" +SRC_URI="mirror://sourceforge/sablotron/${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 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="perl" + +RDEPEND=" + >=dev-libs/expat-1.95.6-r1 +" +DEPEND=" + ${RDEPEND} +" +BDEPEND=" + >=dev-perl/XML-Parser-2.3 +" +DOCS=( + README README_JS RELEASE src/TODO +) +PATCHES=( + "${FILESDIR}"/1.0.3-libsablot-expat.patch + "${FILESDIR}"/1.0.3-cxx11.patch +) + +src_prepare() { + default + sed -i configure.in -e 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|g' || die + mv configure.{in,ac} || die + eautoreconf +} + +src_configure() { + econf \ + --disable-static \ + $(use_enable perl perlconnect) \ + --with-html-dir="${EPREFIX}"/usr/share/doc/${PF}/html +} + +src_install() { + default + find "${ED}" -name '*.la' -delete || die +} |