mirror of https://git.wownero.com/dsc/mxe.git
23 lines
914 B
Makefile
23 lines
914 B
Makefile
# 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
|