You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mxe/src/libsignal-protocol-c.mk

23 lines
914 B

# This file is part of MXE. See LICENSE.md for licensing information.
PKG := libsignal-protocol-c
$(PKG)_WEBSITE := https://github.com/signalapp/libsignal-protocol-c
$(PKG)_DESCR := libsignal-protocol-c
$(PKG)_IGNORE :=
$(PKG)_VERSION := 2.3.2
$(PKG)_CHECKSUM := f3826f3045352e14027611c95449bfcfe39bfd3d093d578c70f70eee0c85000d
$(PKG)_GH_CONF := signalapp/libsignal-protocol-c/tags, v
$(PKG)_DEPS := cc pthreads
define $(PKG)_BUILD
cd '$(BUILD_DIR)' && '$(TARGET)-cmake' '$(SOURCE_DIR)' \
-DPKG_CONFIG_EXECUTABLE='$(PREFIX)/bin/$(TARGET)-pkg-config'
$(MAKE) -C '$(BUILD_DIR)' -j '$(JOBS)' VERBOSE=1
$(MAKE) -C '$(BUILD_DIR)' -j 1 install VERBOSE=1
'$(TARGET)-gcc' \
-W -Wall -Werror -pedantic \
'$(TEST_FILE)' -o '$(PREFIX)/$(TARGET)/bin/test-libsignal-protocol-c.exe' \
`'$(TARGET)-pkg-config' libsignal-protocol-c --cflags --libs`
endef