diff options
| author | TBK <tbk@jjtc.eu> | 2020-02-26 19:33:10 +0100 |
|---|---|---|
| committer | Leo <thinkabit.ukim@gmail.com> | 2020-04-02 22:31:53 +0000 |
| commit | 09ff165bf49ba41b34152add48c8c57dec91e90d (patch) | |
| tree | 86cd81f1fde7883a08b4dd401a6046742283b9e3 /testing/libdap | |
| parent | 803c4f6b9f08bba552e077cd4869062aa4241512 (diff) | |
| download | aports-09ff165bf49ba41b34152add48c8c57dec91e90d.tar.bz2 aports-09ff165bf49ba41b34152add48c8c57dec91e90d.tar.xz | |
testing/libdap: fix url & src
- Switching url to https.
- The archive for some unknown reason changed after release (from ~2MiB to ~19MiB) causing the checksum to be incorrect. Upstream did not reply to email so changing src to github.
- Adding check().
Diffstat (limited to 'testing/libdap')
| -rw-r--r-- | testing/libdap/APKBUILD | 37 |
1 files changed, 21 insertions, 16 deletions
diff --git a/testing/libdap/APKBUILD b/testing/libdap/APKBUILD index 608fc745d0..1d72993d4a 100644 --- a/testing/libdap/APKBUILD +++ b/testing/libdap/APKBUILD @@ -2,16 +2,16 @@ # Maintainer: Holger Jaekel <holger.jaekel@gmx.de> pkgname=libdap pkgver=3.20.5 -pkgrel=0 +pkgrel=1 pkgdesc="The C++ DAP2 library from OPeNDAP" -url="http://www.opendap.org/" +url="https://www.opendap.org/" arch="all" license="LGPL-2.1-or-later" -depends_dev=" - libtirpc-dev - " +depends_dev="libtirpc-dev" makedepends=" $depends_dev + autoconf + automake bison cppunit curl-dev @@ -20,24 +20,32 @@ makedepends=" fontconfig graphviz groff + libtool libxml2-dev ttf-freefont - util-linux util-linux-dev " -subpackages=" - $pkgname-dev - $pkgname-doc - " -source="https://www.opendap.org/pub/source/libdap-$pkgver.tar.gz" +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 \ + ./configure \ + --prefix=/usr \ --disable-static make make docs } +check() { + make check +} + package() { make DESTDIR="$pkgdir" install @@ -49,7 +57,4 @@ package() { cp -pr html "$pkgdir"/usr/share/doc/$pkgname-doc } -check() { - make check -} -sha512sums="727bf18bd8d8b296b2869622123de2c6b1d6fe7edba9f9aaacd06e9ba0e186703d83ada1d2a76482f322782245546710e0e04b2e2b59f705dc8d7df001fc24f7 libdap-3.20.5.tar.gz" +sha512sums="24fa027256b037f5ba97eba45358bee6448252d64748eb8424a4ab3568d0d00476c7dd2bd3b45477f9d2f35c2a4ef31c1fef42dbe0ef53885b7feade8ea9c9ab libdap-3.20.5.tar.gz" |
