git: update to 2.11.1
[openadk.git] / package / libtorrent / Makefile
blobf631b37fd26a71ef432d1fd11c8b5cee07d4aa7a
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include ${ADK_TOPDIR}/rules.mk
6 PKG_NAME:= libtorrent
7 PKG_VERSION:= 0.13.6
8 PKG_RELEASE:= 1
9 PKG_HASH:= 2838a08c96edfd936aff8fbf99ecbb930c2bfca3337dd1482eb5fccdb80d5a04
10 PKG_DESCR:= bittorrent library
11 PKG_SECTION:= libs/net
12 PKG_DEPENDS:= libsigc++ zlib libressl
13 PKG_BUILDDEP:= libsigc++ zlib libressl
14 PKG_NEEDS:= intl
15 PKG_URL:= https://rakshasa.github.io/rtorrent/
16 PKG_SITES:= http://rtorrent.net/downloads/
17 PKG_OPTS:= dev
19 DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
21 include ${ADK_TOPDIR}/mk/package.mk
23 $(eval $(call PKG_template,LIBTORRENT,libtorrent,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
25 AUTOTOOL_STYLE:= autoreconf
26 CONFIGURE_ARGS+= --enable-aligned \
27 --without-kqueue \
28 --disable-instrumentation \
29 --with-zlib=$(STAGING_TARGET_DIR)
31 libtorrent-install:
32 ${INSTALL_DIR} ${IDIR_LIBTORRENT}/usr/lib
33 ${CP} ${WRKINST}/usr/lib/libtorrent.so* ${IDIR_LIBTORRENT}/usr/lib
35 include ${ADK_TOPDIR}/mk/pkg-bottom.mk