summaryrefslogtreecommitdiff
path: root/testing/libgeotiff/APKBUILD
blob: f4e6e9bc9816f2fdf8bd72fc97b185710e6f35d9 (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
# Contributor: Bradley J Chambers <brad.chambers@gmail.com>
# Maintainer: Bradley J Chambers <brad.chambers@gmail.com>
pkgname=libgeotiff
pkgver=1.4.2
pkgrel=0
pkgdesc="TIFF based interchange format for georeferenced raster imagery."
url="https://trac.osgeo.org/geotiff"
arch="all"
license="Public-Domain"
options="!check"
makedepends="autoconf automake libtool tiff-dev proj4-dev"
install=""
subpackages="$pkgname-dev $pkgname-doc"
source="$pkgname-$pkgver.tar.gz::http://download.osgeo.org/geotiff/libgeotiff/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"

build() {
        cd "$builddir"

        ./autogen.sh
        ./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr
        make
}

package() {
        cd "$builddir"
        make DESTDIR="$pkgdir" install
}

sha512sums="059c6e05eb0c47f17b102c7217a2e1636e76d622c4d1bdcf0bd89fb3505f3130bffa881e21c73cfd2ca0d6863b81322f85784658ba3539b53b63c3a8f38d1deb  libgeotiff-1.4.2.tar.gz"