33 lines
741 B
Bash
33 lines
741 B
Bash
# Copyright 1999-2013 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libwbxml/libwbxml-0.10.9.ebuild,v 1.6 2013/04/14 16:21:06 ago 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
|
|
}
|