# Contributor: Holger Jaekel # Maintainer: Holger Jaekel pkgname=libdap pkgver=3.20.5 pkgrel=1 pkgdesc="The C++ DAP2 library from OPeNDAP" url="https://www.opendap.org/" arch="all" license="LGPL-2.1-or-later" depends_dev="libtirpc-dev" makedepends=" $depends_dev autoconf automake bison cppunit curl-dev doxygen flex-dev fontconfig graphviz groff libtool libxml2-dev ttf-freefont util-linux-dev " subpackages="$pkgname-dev $pkgname-doc" source="$pkgname-$pkgver.tar.gz::https://github.com/OPENDAP/libdap4/archive/version-$pkgver.tar.gz" builddir="$srcdir/libdap4-version-$pkgver" prepare() { default_prepare autoreconf -fi } build() { ./configure \ --prefix=/usr \ --disable-static make make docs } check() { make check } package() { make DESTDIR="$pkgdir" install mv "$pkgdir"/usr/bin/dap-config-pkgconfig "$pkgdir"/usr/bin/dap-config rm "$pkgdir"/usr/lib/*.a rm "$pkgdir"/usr/lib/charset.alias mkdir -p "$pkgdir"/usr/share/doc cp -pr html "$pkgdir"/usr/share/doc/$pkgname-doc } sha512sums="24fa027256b037f5ba97eba45358bee6448252d64748eb8424a4ab3568d0d00476c7dd2bd3b45477f9d2f35c2a4ef31c1fef42dbe0ef53885b7feade8ea9c9ab libdap-3.20.5.tar.gz"