diff options
author | Timothy Gu <timothygu99@gmail.com> | 2015-07-20 00:47:25 (GMT) |
---|---|---|
committer | Timothy Gu <timothygu99@gmail.com> | 2015-07-20 00:47:25 (GMT) |
commit | b0408843af1d0fda1a02a3559a5db51bee606436 (patch) | |
tree | feb948036582d252b5ebeb37646665cbd344b9f2 /src | |
parent | b502b6cc773cce2ca9f557b2a69e7d144ec93501 (diff) | |
parent | de6f02e69fa095e12e2e1fe1f87c96aa5f31852d (diff) | |
download | mxe-b0408843af1d0fda1a02a3559a5db51bee606436.zip mxe-b0408843af1d0fda1a02a3559a5db51bee606436.tar.gz mxe-b0408843af1d0fda1a02a3559a5db51bee606436.tar.bz2 |
Merge pull request #766 from nathan-osman/add-qhttpengine
Add qhttpengine library.
Diffstat (limited to 'src')
-rw-r--r-- | src/qhttpengine.mk | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/qhttpengine.mk b/src/qhttpengine.mk new file mode 100644 index 0000000..548be15 --- /dev/null +++ b/src/qhttpengine.mk @@ -0,0 +1,20 @@ +# This file is part of MXE. +# See index.html for further information. + +PKG := qhttpengine +$(PKG)_IGNORE := +$(PKG)_VERSION := 0.1.0 +$(PKG)_CHECKSUM := 427d13e34606c1a4a5f0a74c76fc82e816d625aa +$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) +$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz +$(PKG)_URL := https://github.com/nitroshare/qhttpengine/archive/$($(PKG)_VERSION).tar.gz +$(PKG)_DEPS := gcc qtbase + +define $(PKG)_BUILD + mkdir '$(1)/build' + cd '$(1)/build' && cmake .. \ + -DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)' \ + -DBUILD_STATIC=$(if $(BUILD_STATIC),ON,OFF) + + $(MAKE) -C '$(1)/build' -j '$(JOBS)' install +endef |