/[gentoo-x86]/sci-libs/libdap/libdap-3.11.3.ebuild
Gentoo

Contents of /sci-libs/libdap/libdap-3.11.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Fri Aug 3 19:37:27 2012 UTC (23 months ago) by bicatali
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +2 -2 lines
Keyword amd64-linux x86-linux

(Portage version: 2.2.01.20796-prefix/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sci-libs/libdap/libdap-3.11.3.ebuild,v 1.3 2012/07/08 17:58:37 jlec Exp $
4
5 EAPI=4
6
7 inherit autotools-utils
8
9 DESCRIPTION="Implementation of a C++ SDK for DAP 2.0 and 3.2"
10 HOMEPAGE="http://opendap.org/"
11 SRC_URI="http://www.opendap.org/pub/source/${P}.tar.gz"
12
13 LICENSE="|| ( LGPL-2.1 URI )"
14 SLOT="0"
15 KEYWORDS="amd64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux"
16 IUSE="doc static-libs test"
17
18 RDEPEND="
19 dev-util/cppunit
20 dev-libs/libxml2:2
21 net-misc/curl
22 sys-libs/zlib
23 "
24
25 DEPEND="${RDEPEND}
26 doc? ( app-doc/doxygen )
27 test? ( dev-util/cppunit )
28 "
29
30 DOCS=( README NEWS README.dodsrc )
31
32 RESTRICT="test"
33 # needs http connection
34 # FAIL: MIMEUtilTest
35
36 PATCHES=( "${FILESDIR}"/${P}-gcc-4.7.patch )
37
38 src_compile() {
39 autotools-utils_src_compile
40 use doc && autotools-utils_src_compile docs
41 }
42
43 src_test() {
44 emake check
45 cd "${S}"/unit-tests
46 emake check
47 }
48
49 src_install() {
50 use doc && HTML_DOCS=("${AUTOTOOLS_BUILD_DIR}/docs/html/")
51 autotools-utils_src_install
52 }

  ViewVC Help
Powered by ViewVC 1.1.20