diff options
author | Bradley J Chambers <brad.chambers@gmail.com> | 2017-08-30 15:27:35 -0400 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-09-20 15:38:10 +0000 |
commit | b6cabc796ebaf3025761bdcbab8614464a37597d (patch) | |
tree | f9d2ca74545ea888c022d85053d5f3709500992b /testing/libspatialite | |
parent | ba86e3da6753431bb8288b53e536a1201fa76bd4 (diff) | |
download | aports-b6cabc796ebaf3025761bdcbab8614464a37597d.tar.bz2 aports-b6cabc796ebaf3025761bdcbab8614464a37597d.tar.xz |
testing/libspatialite: new aport
https://www.gaia-gis.it/fossil/libspatialite/index
SpatiaLite is an open source library intended to extend the SQLite core to
support fully fledged Spatial SQL capabilities.
Diffstat (limited to 'testing/libspatialite')
-rw-r--r-- | testing/libspatialite/APKBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/testing/libspatialite/APKBUILD b/testing/libspatialite/APKBUILD new file mode 100644 index 0000000000..680ff3c5ab --- /dev/null +++ b/testing/libspatialite/APKBUILD @@ -0,0 +1,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="all" +license="MPLv1.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" |