summaryrefslogtreecommitdiffstats
path: root/src/libtorrent-rasterbar.mk
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2015-09-04 04:11:48 (GMT)
committerTony Theodore <tonyt@logyst.com>2015-09-04 04:11:48 (GMT)
commitdff8b31f4fdb23e84a7260e277348df93920a53b (patch)
tree71aa89426564d0216e0c95497eaa752f4e61cc9d /src/libtorrent-rasterbar.mk
parent951ab9600ad6640d1ff84019da8b47414e7192be (diff)
parent30ddbd79e10d1cb5ec0ee1a457b2d76f187d271c (diff)
downloadmxe-dff8b31f4fdb23e84a7260e277348df93920a53b.zip
mxe-dff8b31f4fdb23e84a7260e277348df93920a53b.tar.gz
mxe-dff8b31f4fdb23e84a7260e277348df93920a53b.tar.bz2
Merge branch 'libtorrent-rasterbar' of https://github.com/LuaAndC/mxe into LuaAndC-libtorrent-rasterbar
Diffstat (limited to 'src/libtorrent-rasterbar.mk')
-rw-r--r--src/libtorrent-rasterbar.mk31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/libtorrent-rasterbar.mk b/src/libtorrent-rasterbar.mk
new file mode 100644
index 0000000..b3039c6
--- /dev/null
+++ b/src/libtorrent-rasterbar.mk
@@ -0,0 +1,31 @@
+# This file is part of MXE.
+# See index.html for further information.
+
+PKG := libtorrent-rasterbar
+$(PKG)_IGNORE :=
+$(PKG)_VERSION := 1.0.6
+$(PKG)_CHECKSUM := 160e7cde6aafdb3dff1abf5ae384676367d04f2b
+$(PKG)_SUBDIR := libtorrent-rasterbar-$($(PKG)_VERSION)
+$(PKG)_FILE := libtorrent-rasterbar-$($(PKG)_VERSION).tar.gz
+$(PKG)_URL := https://github.com/arvidn/libtorrent/releases/download/libtorrent-$(subst .,_,$($(PKG)_VERSION))/libtorrent-rasterbar-$($(PKG)_VERSION).tar.gz
+$(PKG)_DEPS := gcc boost openssl
+
+define $(PKG)_UPDATE
+ $(WGET) -q -O- 'https://github.com/arvidn/libtorrent/releases' | \
+ $(SED) -n 's,.*libtorrent-rasterbar-\([0-9][^"]*\)\.tar.*,\1,p' | \
+ head -1
+endef
+
+define $(PKG)_BUILD
+ cd '$(1)' && \
+ ./configure \
+ $(MXE_CONFIGURE_OPTS) \
+ PKG_CONFIG='$(PREFIX)/bin/$(TARGET)-pkg-config' \
+ --with-boost-system=boost_system-mt \
+ --disable-debug \
+ --enable-tests --enable-examples
+ $(MAKE) -C '$(1)' -j '$(JOBS)'
+ $(MAKE) -C '$(1)' -j 1 install
+endef
+
+$(PKG)_BUILD_SHARED =