diff options
author | Holger Jaekel <holger.jaekel@gmx.de> | 2019-09-17 21:48:52 +0200 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-09-17 20:03:26 -0300 |
commit | 44fc7efa9f33e0cbc8f1372f6731db59a9fa88f6 (patch) | |
tree | a1c790419f85efb21f76c7a0b0cfc45257a66a37 /testing/libdap/APKBUILD | |
parent | da92cb9e860579b51bc174b1e1f8b21a43d70a83 (diff) | |
download | aports-44fc7efa9f33e0cbc8f1372f6731db59a9fa88f6.tar.bz2 aports-44fc7efa9f33e0cbc8f1372f6731db59a9fa88f6.tar.xz |
testing/libdap: new aport
Diffstat (limited to 'testing/libdap/APKBUILD')
-rw-r--r-- | testing/libdap/APKBUILD | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/testing/libdap/APKBUILD b/testing/libdap/APKBUILD new file mode 100644 index 0000000000..70e2f2acbd --- /dev/null +++ b/testing/libdap/APKBUILD @@ -0,0 +1,52 @@ +# Contributor: Holger Jaekel <holger.jaekel@gmx.de> +# Maintainer: Holger Jaekel <holger.jaekel@gmx.de> +pkgname=libdap +pkgver=3.20.4 +pkgrel=0 +pkgdesc="The C++ DAP2 library from OPeNDAP" +url="http://www.opendap.org/" +arch="all" +license="LGPL-2.1-or-later" +makedepends=" + bison + cppunit + curl-dev + doxygen + flex-dev + fontconfig + graphviz + groff + libtirpc-dev + libxml2-dev + ttf-freefont + util-linux + util-linux-dev + " +subpackages=" + $pkgname-dev + $pkgname-doc + " +source="https://www.opendap.org/pub/source/$pkgname-$pkgver.tar.gz" + +build() { + ./configure --prefix=/usr \ + --disable-static + make + make docs +} + +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 +} + +check() { + make check +} +sha512sums="0f3ce2299ef510ddcedfeaac4a0c71c632abedb96a1feabd4091f0b32f24835bffa8c7f39fdf5532a92985aada3596530e8f5a07600c7b7e128ffdecc290d5cb libdap-3.20.4.tar.gz" |