Files
guru/dev-libs/xqilla/xqilla-2.3.4.ebuild
Michele Santullo b9ef3192bb dev-libs/xqilla: adding package
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Michele Santullo <m.santullo@posteo.net>
2020-05-05 19:29:21 +02:00

30 lines
664 B
Bash

# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="An XQuery and XPath 2 library and command line utility written in C++"
HOMEPAGE="http://xqilla.sourceforge.net/HomePage"
SRC_URI="mirror://sourceforge/${PN}/XQilla-${PV}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
IUSE="static-libs tidy"
DEPEND=">=dev-libs/xerces-c-3.2.1 tidy? ( app-text/tidy-html5 )"
RDEPEND="${DEPEND}"
BDEPEND=""
PATCHES=(
"${FILESDIR}"/lib_to_lib64.patch
)
S="${WORKDIR}"/XQilla-${PV}
src_configure() {
econf $(use_enable static-libs static) \
--with-tidy=$(usex tidy /usr no) \
--with-xerces=/usr
}