aboutsummaryrefslogtreecommitdiffstats
path: root/testing/librasterlite2/APKBUILD
blob: 2486c06598b0a9842d21414a999dc1e2c09bb550 (plain) (blame)
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=librasterlite2
pkgver=1.1.0b0
_pkgver="${pkgver//b0/-beta0}"
pkgrel=0
pkgdesc="Library for storing and retrieving huge raster coverages using a SpatiaLite DBMS"
url="https://www.gaia-gis.it/fossil/librasterlite2/index"
arch="x86_64"  # libspatialite availability
license="MPL-1.1"
makedepends="
	cairo-dev
	curl-dev
	giflib-dev
	libgeotiff-dev
	libjpeg-turbo-dev
	libpng-dev
	libspatialite-dev
	libwebp-dev
	libxml2-dev
	openjpeg-dev
	proj-dev
	sqlite-dev
	tiff-dev
	xz-dev
	"
subpackages="$pkgname-dev"
source="
	http://www.gaia-gis.it/gaia-sins/librasterlite2-sources/librasterlite2-$_pkgver.tar.gz
	10-musl.patch
	20-skip-tests.patch
	"
builddir=$srcdir/$pkgname-$_pkgver

build() {
	./configure \
		--prefix=/usr \
		--build=$CBUILD \
		--host=$CHOST \
		--disable-static \
		--disable-charls  # broken build with charls 2.1.0
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="2514a781fab3b93740d2f8d8500ae0664be86603e483a4ca576a09da55edc085c5715caa3fcfa686d0590d1c2132957de49b35356624229f66e11ce4ce637e22  librasterlite2-1.1.0-beta0.tar.gz
6ed660abe58577d565de40d799434ae5c04aff5896d7b3a35a0e65400e48b1adc13a3842a0cb31ec3b104f2acad4a3ec0e9d1ca6b97b03e6ce186be5d355605d  10-musl.patch
07481392ba03b985ecdfb82086d9c40c111807d29b8ce2252f76e7e8ec18fe4a6f83ddc90e8a4e93a7ef57cb568f8fdc9f1f1f92757980a423ac6b8c8e7a6dc4  20-skip-tests.patch"