From a51681924cbd1f28bdf6e2a713e000687b60341a Mon Sep 17 00:00:00 2001 From: Christian Stewart Date: Mon, 23 Feb 2015 09:38:47 -0800 Subject: Add cpp-netlib --- index.html | 4 ++++ src/cpp-netlib.mk | 24 ++++++++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 src/cpp-netlib.mk diff --git a/index.html b/index.html index a75f9cd..07bc957 100644 --- a/index.html +++ b/index.html @@ -1195,6 +1195,10 @@ local-pkg-list: $(LOCAL_PKG_LIST) Coin3D + cpp-netlib + Boost C++ Networking Library + + cppunit CppUnit diff --git a/src/cpp-netlib.mk b/src/cpp-netlib.mk new file mode 100644 index 0000000..739b556 --- /dev/null +++ b/src/cpp-netlib.mk @@ -0,0 +1,24 @@ +# This file is part of MXE. +# See index.html for further information. + +PKG := cpp-netlib +$(PKG)_IGNORE := +$(PKG)_VERSION := 0.11.1 +$(PKG)_CHECKSUM := bd9b081686f1042fa53af7627d4552e039130ada0937ea081097439e3c015eec +$(PKG)_SUBDIR := cpp-netlib-$($(PKG)_VERSION)-final +$(PKG)_FILE := cpp-netlib-$($(PKG)_VERSION)-final.tar.gz +$(PKG)_URL := http://storage.googleapis.com/cpp-netlib-downloads/$($(PKG)_VERSION)/cpp-netlib-$($(PKG)_VERSION)-final.tar.gz +$(PKG)_DEPS := gcc boost + +define $(PKG)_UPDATE +endef + +define $(PKG)_BUILD + mkdir '$(1)/build' + cd '$(1)/build' && cmake .. \ + -DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)' \ + -DCPP-NETLIB_BUILD_EXAMPLES=OFF \ + -DCPP-NETLIB_BUILD_TESTS=OFF + + $(MAKE) -C '$(1)/build' -j '$(JOBS)' install +endef -- cgit v0.12