Skip to content

Commit

Permalink
dev-libs/xalan-c: add 9999
Browse files Browse the repository at this point in the history
Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
  • Loading branch information
ceamac committed Nov 23, 2022
1 parent 81b1fb2 commit 4849d23
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions dev-libs/xalan-c/xalan-c-9999.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit cmake git-r3

MY_PN=${PN/-/_}
DESCRIPTION="XSLT processor for transforming XML into HTML, text, or other XML types"
HOMEPAGE="https://apache.github.io/xalan-c/"
EGIT_REPO_URI="https://github.com/apache/xalan-c.git"

LICENSE="Apache-2.0"
SLOT="0/112-9999"
IUSE="doc"

RDEPEND="
dev-libs/icu:=
dev-libs/xerces-c[icu]
"
DEPEND="${RDEPEND}"
BDEPEND="doc? ( app-doc/doxygen[dot] )"

src_configure() {
local mycmakeargs=(
-DBUILD_DOXYGEN=$(usex doc)
)

cmake_src_configure
}

src_install() {
cmake_src_install

if use doc; then
docinto examples
dodoc -r samples/*/
fi
}

0 comments on commit 4849d23

Please sign in to comment.