diff options
author | Tony Theodore <tonyt@logyst.com> | 2014-03-22 11:46:30 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2014-03-22 11:46:30 (GMT) |
commit | 446bcac56be8d4d20e3f0c52761157d20f09e273 (patch) | |
tree | 0dbacbe7603410aeb90d19086f3d36a3ef916e83 | |
parent | 2d9725a08318c9ce72c1e433d617b8fa473d5557 (diff) | |
parent | 58b7861fe77fca28e9d2668bb19cf5da017781b8 (diff) | |
download | mxe-446bcac56be8d4d20e3f0c52761157d20f09e273.zip mxe-446bcac56be8d4d20e3f0c52761157d20f09e273.tar.gz mxe-446bcac56be8d4d20e3f0c52761157d20f09e273.tar.bz2 |
Merge pull request #352 from AndreHeinecke/master
Add package polarssl
-rw-r--r-- | index.html | 4 | ||||
-rw-r--r-- | src/polarssl.mk | 28 |
2 files changed, 32 insertions, 0 deletions
@@ -2044,6 +2044,10 @@ local-pkg-list: $(LOCAL_PKG_LIST)</pre> <td class="website"><a href="http://pocoproject.org/">POCO C++ Libraries</a></td> </tr> <tr> + <td class="package">polarssl</td> + <td class="website"><a href="https://polarssl.org/">Polar SSL Library</a></td> + </tr> + <tr> <td class="package">poppler</td> <td class="website"><a href="http://poppler.freedesktop.org/">poppler</a></td> </tr> diff --git a/src/polarssl.mk b/src/polarssl.mk new file mode 100644 index 0000000..6d4ef23 --- /dev/null +++ b/src/polarssl.mk @@ -0,0 +1,28 @@ +# This file is part of MXE. +# See index.html for further information. + +PKG := polarssl +$(PKG)_IGNORE := +$(PKG)_VERSION := 1.3.4 +$(PKG)_CHECKSUM := e43dc467e36ae2761ca2e4fa02c54f5771ee51a1 +$(PKG)_SUBDIR := polarssl-$($(PKG)_VERSION) +$(PKG)_FILE := polarssl-$($(PKG)_VERSION)-gpl.tgz +$(PKG)_URL := https://polarssl.org/download/$($(PKG)_FILE) +$(PKG)_DEPS := gcc + +# Match lines like: +# <a href="/tech-updates/releases/polarssl-1.3.4-released">PolarSSL 1.3.4 released</a></br> +# On the releases page of polarssl for update + +define $(PKG)_UPDATE + $(WGET) -q -O- https://polarssl.org/tech-updates/releases | \ + $(SED) -n "s,.*releases/polarssl\-\([0-9]\.[0-9].[0-9]\)-released.*,\1,p" | \ + head -1 +endef + +define $(PKG)_BUILD + mkdir '$(1)/build' + cd '$(1)/build' && cmake .. \ + -DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)' + $(MAKE) -C '$(1)/build' -j '$(JOBS)' install +endef |