blob: ed922e435fa2e4714429d0c5510b561a54c185cb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Copyright 1999-2012 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.1 2012/05/07 09:41:36 s4t4n 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
}
|