34 lines
772 B
Plaintext
34 lines
772 B
Plaintext
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=proj4
|
|
pkgver=5.2.0
|
|
pkgrel=0
|
|
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="f773117d22309d4ee8dbedc2a7b6ba27e8cd032e1bd0af3c98f270bf7b7ab3353be0b04d91202a1f137fc45164c8e8a52712bb06281948008160d08f9f9074ba proj-5.2.0.tar.gz"
|