aboutsummaryrefslogtreecommitdiffstats
path: root/testing/proj4/APKBUILD
blob: d210d11ec38e5087ee47461fd0ddff3d64abdc84 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=proj4
pkgver=5.0.1
pkgrel=1
pkgdesc="PROJ.4 - Cartographic Projections Library"
url="https://trac.osgeo.org/proj/"
arch="all"
license="MIT"
options=""
depends=""
makedepends=""
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="8cb41019012b57cffbc7d24ff5b634e29e5e6cb2407b7755381032ff69da823b9acdebdcf0630dfea52362f1fcba506cb6020bb7ca2686ab00ec2df4c4d26fb6  proj-5.0.1.tar.gz"