| 1 |
# Copyright 1999-2012 Gentoo Foundation |
| 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 |
# $Header: $ |
| 4 |
|
| 5 |
EAPI=4 |
| 6 |
|
| 7 |
inherit cmake-utils |
| 8 |
|
| 9 |
DESCRIPTION="Light-weight, simple, and fast XML parser for C++ with XPath support" |
| 10 |
HOMEPAGE="http://pugixml.org/" |
| 11 |
SRC_URI="http://pugixml.googlecode.com/files/${P}.tar.gz" |
| 12 |
|
| 13 |
LICENSE="MIT" |
| 14 |
SLOT="0" |
| 15 |
KEYWORDS="~amd64 ~x86" |
| 16 |
IUSE="" |
| 17 |
|
| 18 |
S=${WORKDIR}/scripts |
| 19 |
|
| 20 |
PATCHES=( "${FILESDIR}"/${P}-cmake.patch ) |
| 21 |
|
| 22 |
src_configure() { |
| 23 |
local mycmakeargs=( -DBUILD_SHARED_LIBS=ON ) |
| 24 |
cmake-utils_src_configure |
| 25 |
} |