Skip to content
Snippets Groups Projects
Verified Commit 4cdae1b5 authored by Simon Legner's avatar Simon Legner Committed by hashworks
Browse files

Initial commit

parents
No related branches found
No related tags found
No related merge requests found
.SRCINFO 0 → 100644
# Generated by mksrcinfo v8
# Thu Oct 20 08:46:01 UTC 2016
pkgbase = libosmium
pkgdesc = Fast and flexible C++ library for working with OpenStreetMap data.
pkgver = 2.9.0
pkgrel = 1
url = http://osmcode.org/libosmium/
arch = x86_64
arch = i686
license = custom
depends = expat
depends = zlib
depends = bzip2
depends = boost-libs
optdepends = sparsehash: sparse-mem-table index map
optdepends = gdal: convert OSM geometries into OGR geometries
optdepends = geos: convert OSM geometries into GEOS geometries
optdepends = proj: project OSM coordinates into spatial reference systems
optdepends = doxygen: build Libosmium API documentation
provides = libosmium
conflicts = libosmium-git
source = https://github.com/osmcode/libosmium/archive/v2.9.0.tar.gz
sha1sums = b99d469917688a7a63bfa159fd347e5e80fccdca
sha256sums = d4312c0cd9cca41fbf2927aee67cbb95d566540a76bb01fc643e8ba76db13419
pkgname = libosmium
PKGBUILD 0 → 100644
# Maintainer: Simon Legner <Simon.Legner@gmail.com>
pkgname=libosmium
pkgver=2.9.0
pkgrel=1
pkgdesc="Fast and flexible C++ library for working with OpenStreetMap data."
url="http://osmcode.org/libosmium/"
arch=('x86_64' 'i686')
license=('custom')
depends=('expat' 'zlib' 'bzip2' 'boost-libs')
optdepends=('sparsehash: sparse-mem-table index map'
'gdal: convert OSM geometries into OGR geometries'
'geos: convert OSM geometries into GEOS geometries'
'proj: project OSM coordinates into spatial reference systems'
'doxygen: build Libosmium API documentation')
conflicts=('libosmium-git')
provides=('libosmium')
source=("https://github.com/osmcode/${pkgname}/archive/v${pkgver}.tar.gz")
build() {
mkdir -p "${srcdir}/${pkgname}-${pkgver}/build"
cd "${srcdir}/${pkgname}-${pkgver}/build"
cmake \
-DINSTALL_GDALCPP=ON \
-DINSTALL_PROTOZERO=ON \
-DINSTALL_UTFCPP=ON \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX:PATH=/usr \
..
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}/build"
make DESTDIR="${pkgdir}" install
install -Dm644 ../LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
sha1sums=('b99d469917688a7a63bfa159fd347e5e80fccdca')
sha256sums=('d4312c0cd9cca41fbf2927aee67cbb95d566540a76bb01fc643e8ba76db13419')
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment