summaryrefslogtreecommitdiff
path: root/testing/libspatialite/APKBUILD
blob: 1f6a0c9e03fea1ec3736d4a49ed6d539f35b799f (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
# Contributor: Bradley J Chambers <brad.chambers@gmail.com>
# Maintainer: Bradley J Chambers <brad.chambers@gmail.com>
pkgname=libspatialite
pkgver=4.3.0a
pkgrel=0
pkgdesc="SpatiaLite extends the SQLite core to support fully fledged Spatial SQL capabilities."
url="https://www.gaia-gis.it/fossil/libspatialite/index"
arch="x86 x86_64"
license="MPL-1.1"
options="!check"
makedepends="geos-dev sqlite-dev proj4-dev zlib-dev libxml2-dev"
install=""
subpackages="$pkgname-dev"
source="$pkgname-$pkgver.tar.gz::http://www.gaia-gis.it/gaia-sins/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"

build() {
        cd "$builddir"

        ./configure \
                --prefix=/usr \
                --build=$CBUILD \
                --host=$CHOST \
                --enable-freexl=no
        make
}

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

prepare() {
        update_config_sub
}

sha512sums="adfd63e8dde0f370b07e4e7bb557647d2bfb5549205b60bdcaaca69ff81298a3d885e7c1ca515ef56dd0aca152ae940df8b5dbcb65bb61ae0a9337499895c3c0  libspatialite-4.3.0a.tar.gz"