blob: 3277c6c1434747d75d42baed78a3ba94ea090262 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
# Contributor: Holger Jaekel <holger.jaekel@gmx.de>
# Maintainer: Holger Jaekel <holger.jaekel@gmx.de>
pkgname=libdap
pkgver=3.20.4
pkgrel=1
pkgdesc="The C++ DAP2 library from OPeNDAP"
url="http://www.opendap.org/"
arch="all"
license="LGPL-2.1-or-later"
depends_dev="
libtirpc-dev
"
makedepends="
$depends_dev
bison
cppunit
curl-dev
doxygen
flex-dev
fontconfig
graphviz
groff
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"
|