1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 inherit autotools flag-o-matic
8 DESCRIPTION="Implementation of a C++ SDK for DAP 2.0 and 3.2"
9 HOMEPAGE="https://www.opendap.org"
10 SRC_URI="https://www.opendap.org/pub/source/${P}.tar.gz"
12 LICENSE="|| ( LGPL-2.1 URI )"
14 KEYWORDS="amd64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux"
15 IUSE="static-libs test"
16 RESTRICT="!test? ( test )"
25 test? ( dev-util/cppunit )"
28 "${FILESDIR}/${PN}-3.18.1-fix-buildsystem.patch"
29 "${FILESDIR}/${PN}-3.18.1-fix-c++14.patch"
30 "${FILESDIR}/${PN}-3.18.1-disable-cache-test.patch"
31 "${FILESDIR}/${PN}-3.18.1-disable-dmr-tests.patch"
32 "${FILESDIR}/${PN}-3.18.1-disable-net-tests.patch"
33 "${FILESDIR}/${PN}-3.18.1-disable-broken-tests.patch"
43 append-cxxflags -std=c++14
47 $(use_enable static-libs static)
53 # package provides .pc files
54 find "${D}" -name '*.la' -delete || die