diff options
author | Tony Theodore <tonyt@logyst.com> | 2015-09-04 04:11:48 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2015-09-04 04:11:48 (GMT) |
commit | dff8b31f4fdb23e84a7260e277348df93920a53b (patch) | |
tree | 71aa89426564d0216e0c95497eaa752f4e61cc9d /src/libtorrent-rasterbar.mk | |
parent | 951ab9600ad6640d1ff84019da8b47414e7192be (diff) | |
parent | 30ddbd79e10d1cb5ec0ee1a457b2d76f187d271c (diff) | |
download | mxe-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.mk | 31 |
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 = |