Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions ports/libosmium/CONTROL
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Source: libosmium
Version: 2.15.5
Homepage: https://osmcode.org/libosmium/
Description: A fast and flexible C++ library for working with OpenStreetMap data
Build-Depends: utfcpp, expat, zlib, proj4, bzip2, protozero
30 changes: 30 additions & 0 deletions ports/libosmium/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO osmcode/libosmium
REF v2.15.5
SHA512 a4972901db8ed89302e6ba15fd104543b5e36a41bc83daf8f6f6fb29ce73b0dbd8596de801d099a33df413b26eec1b3a6f4f0d669936ecc6d25f88d783468a59
)
# [PATCHES <patch1.patch> <patch2.patch>...]
Comment thread
am2222 marked this conversation as resolved.
Outdated


# # Check if one or more features are a part of a package installation.
# # See /docs/maintainers/vcpkg_check_features.md for more details
# vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
# FEATURES # <- Keyword FEATURES is required because INVERTED_FEATURES are being used
# tbb WITH_TBB
# INVERTED_FEATURES
# tbb ROCKSDB_IGNORE_PACKAGE_TBB
# )

vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA # Disable this option if project cannot be built with Ninja
OPTIONS -DBUILD_TESTING=OFF -DBUILD_EXAMPLES=OFF
)

vcpkg_install_cmake()

# Handle copyright
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/libosmium RENAME copyright)
Comment thread
am2222 marked this conversation as resolved.
Outdated

file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")