# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-libs/libwbxml/libwbxml-0.11.0.ebuild,v 1.2 2014/08/10 20:38:01 slyfox Exp $ EAPI=4 inherit cmake-utils DESCRIPTION="Library and tools to parse, encode and handle WBXML documents" HOMEPAGE="http://libwbxml.opensync.org/" SRC_URI="mirror://sourceforge/libwbxml/${P}.tar.bz2" KEYWORDS="~amd64 ~ppc ~x86" IUSE="test" LICENSE="GPL-2" SLOT="0" RDEPEND=" dev-libs/expat virtual/libiconv " DEPEND="${DEPEND} test? ( dev-libs/check ) " src_configure() { local mycmakeargs=( $(cmake-utils_use_enable test UNIT_TEST) "-DDOC_INSTALL_DIR=${EPREFIX}/usr/share/${PF}" ) cmake-utils_src_configure }