blob: 9cc32873f2544395817c5ebfb69b62f42b220fa2 (
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
34
35
36
37
38
39
40
41
42
|
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer: Bjoern Schilberg <bjoern@intevation.de>
pkgname=readosm
pkgver=1.1.0
pkgrel=1
pkgdesc="Library to extract valid data from an Open Street Map input file."
url="https://www.gaia-gis.it/fossil/readosm/index"
arch="all"
license="MPL-1.1 GPL-2.0-only LGPL-2.1-only"
depends="expat zlib"
depends_dev="expat-dev zlib-dev"
makedepends="$depends_dev"
install=""
subpackages="$pkgname-dev"
source="http://www.gaia-gis.it/gaia-sins/$pkgname-$pkgver.tar.gz"
prepare() {
default_prepare
update_config_sub
}
build() {
cd "$builddir"
./configure \
--host=$CHOST \
--build=$CBUILD \
--prefix /usr
make
}
check() {
cd "$builddir"
make check
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
rm -rf "$pkgdir"/usr/share/
}
sha512sums="d3581f564c4461c6a1a3d5fd7d18a262c884b2ac935530064bfaebd6c05d692fb92cc600fb40e87e03f7160ebf0eeeb05f51a0e257935d056b233fe28fc01a11 readosm-1.1.0.tar.gz"
|