aports/community/libspatialite/APKBUILD
psykose c76155ebfb community/*: rebuild against libxml2
for some reason some symbols are weird in this release.

keep it, but just rebuild everything
https://gitlab.gnome.org/GNOME/libxml2/-/issues/526
2023-04-28 23:13:10 +02:00

49 lines
1.0 KiB
Plaintext

# Contributor: Bradley J Chambers <brad.chambers@gmail.com>
# Maintainer: Bradley J Chambers <brad.chambers@gmail.com>
pkgname=libspatialite
pkgver=5.0.1
pkgrel=7
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="MPL-1.1"
depends_dev="
geos-dev
librttopo-dev
libxml2-dev
minizip-dev
proj-dev
sqlite-dev
"
makedepends="$depends_dev"
subpackages="$pkgname-dev"
source="https://www.gaia-gis.it/gaia-sins/libspatialite-sources/libspatialite-$pkgver.tar.gz"
options="!check" # Tests fail
build() {
./configure \
--prefix=/usr \
--build=$CBUILD \
--host=$CHOST \
--enable-freexl=no \
--disable-static
make
}
check() {
make check
}
package() {
make DESTDIR="$pkgdir" install
}
prepare() {
default_prepare
update_config_sub
}
sha512sums="
c2552994bc30d69d1e80aa274760f048cd384f71e8350a1e48a47cb8222ba71a1554a69c6534eedde9a09dc582c39c089967bcc1c57bf158cc91a3e7b1840ddf libspatialite-5.0.1.tar.gz
"