2016-08-22 20:52:34 +01:00
|
|
|
# This file is part of MXE. See LICENSE.md for licensing information.
|
2016-02-07 14:25:17 +00:00
|
|
|
|
|
|
|
PKG := sparsehash
|
2016-12-18 05:43:56 +00:00
|
|
|
$(PKG)_WEBSITE := https://github.com/sparsehash/sparsehash
|
2016-02-07 14:25:17 +00:00
|
|
|
$(PKG)_IGNORE :=
|
|
|
|
$(PKG)_VERSION := 2.0.3
|
|
|
|
$(PKG)_CHECKSUM := 05e986a5c7327796dad742182b2d10805a8d4f511ad090da0490f146c1ff7a8c
|
2018-03-13 15:33:05 +00:00
|
|
|
$(PKG)_GH_CONF := sparsehash/sparsehash/tags, sparsehash-
|
2017-11-25 13:36:07 +00:00
|
|
|
$(PKG)_DEPS := cc
|
2016-02-07 14:25:17 +00:00
|
|
|
|
|
|
|
define $(PKG)_BUILD
|
2018-03-13 15:33:05 +00:00
|
|
|
cd '$(BUILD_DIR)' && $(SOURCE_DIR)/configure \
|
2016-02-07 14:25:17 +00:00
|
|
|
$(MXE_CONFIGURE_OPTS)
|
2018-03-13 15:33:05 +00:00
|
|
|
$(MAKE) -C '$(BUILD_DIR)' -j '$(JOBS)'
|
|
|
|
$(MAKE) -C '$(BUILD_DIR)' -j 1 install $(MXE_DISABLE_DOCS)
|
2016-02-07 14:25:17 +00:00
|
|
|
|
2018-03-13 15:33:05 +00:00
|
|
|
$(INSTALL) '$(BUILD_DIR)/hashtable_test.exe' '$(PREFIX)/$(TARGET)/bin/test-sparsehash.exe'
|
2016-02-07 14:25:17 +00:00
|
|
|
$(TARGET)-strip '$(PREFIX)/$(TARGET)/bin/test-sparsehash.exe'
|
|
|
|
endef
|