diff options
author | Boris Pek <tehnick-8@yandex.ru> | 2017-03-09 21:26:03 (GMT) |
---|---|---|
committer | Boris Pek <tehnick-8@yandex.ru> | 2017-03-09 21:26:03 (GMT) |
commit | b53199944f321dffc9cd2aeeddad5cf89ec6981f (patch) | |
tree | d907f4bea51a5f4d77e8dcdbac62ae3199f8a778 | |
parent | a26337b6898e35b9c224c48da8ac6d55db83eb16 (diff) | |
download | mxe-b53199944f321dffc9cd2aeeddad5cf89ec6981f.zip mxe-b53199944f321dffc9cd2aeeddad5cf89ec6981f.tar.gz mxe-b53199944f321dffc9cd2aeeddad5cf89ec6981f.tar.bz2 |
add package qca
-rw-r--r-- | src/qca.mk | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/src/qca.mk b/src/qca.mk new file mode 100644 index 0000000..00e2f22 --- /dev/null +++ b/src/qca.mk @@ -0,0 +1,31 @@ +# This file is part of MXE. See LICENSE.md for licensing information. + +PKG := qca +$(PKG)_WEBSITE := https://userbase.kde.org/QCA +$(PKG)_DESCR := Qt Cryptographic Architecture +$(PKG)_IGNORE := +$(PKG)_VERSION := 2.1.3 +$(PKG)_CHECKSUM := a5135ffb0250a40e9c361eb10cd3fe28293f0cf4e5c69d3761481eafd7968067 +$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) +$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz +$(PKG)_URL := https://github.com/KDE/qca/archive/v$($(PKG)_VERSION).tar.gz +$(PKG)_DEPS := gcc qtbase + +define $(PKG)_UPDATE + $(WGET) -q -O- 'https://github.com/KDE/qca/tags' | \ + $(SED) -n 's,.*/KDE/qca/archive/v\([0-9][^>]*\)\.tar\.gz.*,\1,p' | \ + head -1 +endef + +define $(PKG)_BUILD + mkdir '$(1).build' + cd '$(1).build' && $(TARGET)-cmake '$(1)' \ + -DBUILD_TESTS=OFF \ + -DBUILD_TOOLS=OFF \ + -DUSE_RELATIVE_PATHS=OFF \ + -DBUILD_PLUGINS="auto" + -DBUILD_STATIC_LIBS=$(CMAKE_STATIC_BOOL) \ + -DBUILD_SHARED_LIBS=$(CMAKE_SHARED_BOOL) + $(MAKE) -C '$(1).build' -j '$(JOBS)' + $(MAKE) -C '$(1).build' -j 1 install +endef |