pugixml-1.8.ebuild (608B)
1 # Copyright 1999-2017 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3
4 EAPI=6
5 CMAKE_MAKEFILE_GENERATOR=emake
6
7 inherit cmake-utils
8
9 DESCRIPTION="Light-weight, simple, and fast XML parser for C++ with XPath support"
10 HOMEPAGE="https://pugixml.org/ https://github.com/zeux/pugixml/"
11 SRC_URI="https://github.com/zeux/${PN}/releases/download/v${PV}/${P}.tar.gz"
12
13 LICENSE="MIT"
14 SLOT="0"
15 KEYWORDS="amd64 ~arm ~ia64 ppc ppc64 x86 ~x86-fbsd ~amd64-linux ~x86-linux"
16
17 src_configure() {
18 local mycmakeargs=( -DBUILD_SHARED_LIBS=ON -DBUILD_PKGCONFIG=ON )
19 cmake-utils_src_configure
20 }