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
9 PKG_HASH
:= 704e097119dc89e2ee4630396b25de1cd64b0549841347ea75b9ef9217084955
10 PKG_DESCR
:= bittorrent library
11 PKG_SECTION
:= libs
/net
12 PKG_DEPENDS
:= libopenssl libsigc
++
13 PKG_BUILDDEP
:= openssl libsigc
++ gettext-tiny
14 PKG_URL
:= http
://libtorrent.rakshasa.no
/
15 PKG_SITES
:= http
://distfiles.openadk.org
/
18 DISTFILES
:= ${PKG_NAME}-${PKG_VERSION}.
tar.gz
20 include ${ADK_TOPDIR}/mk
/package.mk
22 $(eval
$(call PKG_template
,LIBTORRENT
,libtorrent
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
24 AUTOTOOL_STYLE
:= autoreconf
25 CONFIGURE_ARGS
+= --enable-aligned \
27 --disable-instrumentation
30 ${INSTALL_DIR} ${IDIR_LIBTORRENT}/usr
/lib
31 ${CP} ${WRKINST}/usr
/lib
/libtorrent.so
* ${IDIR_LIBTORRENT}/usr
/lib
33 include ${ADK_TOPDIR}/mk
/pkg-bottom.mk