mirror of
https://github.com/termux/termux-packages.git
synced 2024-12-12 14:13:36 +00:00
3c7b3d48da
Closes #20124
16 lines
583 B
Bash
16 lines
583 B
Bash
TERMUX_PKG_HOMEPAGE=https://github.com/openstreetmap/OSM-binary/
|
|
TERMUX_PKG_DESCRIPTION="osmpbf is a Java/C library to read and write OpenStreetMap PBF files"
|
|
TERMUX_PKG_LICENSE="MIT"
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
|
TERMUX_PKG_VERSION="1.5.1"
|
|
TERMUX_PKG_SRCURL=https://github.com/openstreetmap/OSM-binary/archive/v${TERMUX_PKG_VERSION}.zip
|
|
TERMUX_PKG_SHA256=edd98ba252c81372113747a131466f5ba45e0cff97b597e863a26e83943ba84f
|
|
TERMUX_PKG_DEPENDS="libc++, libprotobuf"
|
|
TERMUX_PKG_GROUPS="science"
|
|
|
|
termux_step_pre_configure() {
|
|
termux_setup_protobuf
|
|
|
|
CPPFLAGS+=" -DPROTOBUF_USE_DLLS"
|
|
}
|