Makefile 1.1 KB

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