diff options
Diffstat (limited to 'sci-libs/libdap/libdap-3.10.0.ebuild')
-rw-r--r-- | sci-libs/libdap/libdap-3.10.0.ebuild | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/sci-libs/libdap/libdap-3.10.0.ebuild b/sci-libs/libdap/libdap-3.10.0.ebuild new file mode 100644 index 000000000000..aebd761f1126 --- /dev/null +++ b/sci-libs/libdap/libdap-3.10.0.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/libdap/libdap-3.10.0.ebuild,v 1.1 2010/04/27 10:06:52 scarabeus Exp $ + +EAPI="3" + +inherit base + +DESCRIPTION="Implementation of a C++ SDK for DAP 2.0 and 3.2" +HOMEPAGE="http://opendap.org/" +SRC_URI="http://www.opendap.org/pub/source/${P}.tar.gz" + +LICENSE="|| ( LGPL-2.1 URI )" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="doc" + +RDEPEND=" + dev-util/cppunit + dev-libs/libxml2 + net-misc/curl + sys-libs/zlib +" + +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen )" + +PATCHES=( "${FILESDIR}/${PV}-fix_tests.patch" ) + +RESTRICT="test" +# needs http connection +# FAIL: MIMEUtilTest + +src_compile() { + base_src_compile + if use doc; then + emake docs || die "make docs failed" + fi +} + +src_test() { + cd "${S}"/unit-tests + emake check || die +} + +src_install() { + base_src_install + dodoc README NEWS README.dodsrc || die + use doc && { dohtml docs/html/* || die ; } +} |