Makefile 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  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 gettext-tiny
  12. PKG_URL:= https://rakshasa.github.io/rtorrent/
  13. PKG_SITES:= http://rtorrent.net/downloads/
  14. PKG_OPTS:= dev
  15. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  16. include ${ADK_TOPDIR}/mk/package.mk
  17. $(eval $(call PKG_template,LIBTORRENT,libtorrent,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  18. AUTOTOOL_STYLE:= autoreconf
  19. CONFIGURE_ARGS+= --enable-aligned \
  20. --without-kqueue \
  21. --disable-instrumentation \
  22. --with-zlib=$(STAGING_TARGET_DIR)
  23. libtorrent-install:
  24. ${INSTALL_DIR} ${IDIR_LIBTORRENT}/usr/lib
  25. ${CP} ${WRKINST}/usr/lib/libtorrent.so* ${IDIR_LIBTORRENT}/usr/lib
  26. include ${ADK_TOPDIR}/mk/pkg-bottom.mk