aboutsummaryrefslogtreecommitdiffstats
path: root/testing/proj4/APKBUILD
blob: 8c62f9644f5ff084f7c69b38d4b33a6901f69a2c (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=proj4
pkgver=6.1.0
pkgrel=0
pkgdesc="PROJ.4 - Cartographic Projections Library"
url="https://trac.osgeo.org/proj/"
arch="all"
license="MIT"
options=""
depends=""
makedepends="sqlite sqlite-dev"
subpackages="$pkgname-doc $pkgname-dev"
source="http://download.osgeo.org/proj/proj-$pkgver.tar.gz
	"

builddir="$srcdir"/proj-$pkgver
build () {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--without-jni \
		|| return 1
	make || return 1
}

package() {
	cd "$builddir"
	mkdir -p $pkgdir/usr/bin
	make DESTDIR="$pkgdir" install
}
sha512sums="7e7af901031801aa799df5dd2c863f31f0fb98eef7cc6883257bc4778b2df1b8eeee30f8ffca2f882261655ebfb04d46804dd87192bb47a58e9a253d4c461c69  proj-6.1.0.tar.gz"