1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
8 if [[ ${PV} == *9999 ]] ; then
9 EGIT_REPO_URI="https://github.com/zeux/${PN}.git"
12 SRC_URI="https://github.com/zeux/${PN}/releases/download/v${PV}/${P}.tar.gz"
13 KEYWORDS="~amd64 ~arm ~hppa ia64 ~ppc ~ppc64 sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
16 DESCRIPTION="Light-weight, simple, and fast XML parser for C++ with XPath support"
17 HOMEPAGE="https://pugixml.org/ https://github.com/zeux/pugixml/"
23 "${FILESDIR}/${P}-always-install-the-pkg-config-file.patch"
24 "${FILESDIR}/${P}-Use-CMAKE_INSTALL_LIBDIR-for-pugixml.pc.patch"
25 "${FILESDIR}/${P}-pkg-config-Use-CMake-GnuInstallDirs-FULL-vars.patch"
30 -DBUILD_SHARED_LIBS=ON
32 cmake-utils_src_configure