Makefile 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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.4
  6. PKG_RELEASE:= 2
  7. PKG_HASH:= 704e097119dc89e2ee4630396b25de1cd64b0549841347ea75b9ef9217084955
  8. PKG_DESCR:= bittorrent library
  9. PKG_SECTION:= libs/net
  10. PKG_DEPENDS:= libsigc++
  11. PKG_BUILDDEP:= libsigc++ gettext-tiny
  12. PKG_URL:= http://libtorrent.rakshasa.no/
  13. PKG_SITES:= http://distfiles.openadk.org/
  14. PKG_OPTS:= dev
  15. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  16. PKG_CHOICES_LIBTORRENT:= WITH_LIBRESSL WITH_OPENSSL
  17. PKGCD_WITH_LIBRESSL:= use libressl for crypto
  18. PKGCB_WITH_LIBRESSL:= libressl
  19. PKGCS_WITH_LIBRESSL:= libressl
  20. PKGCD_WITH_OPENSSL:= use openssl for crypto
  21. PKGCB_WITH_OPENSSL:= openssl
  22. PKGCS_WITH_OPENSSL:= libopenssl
  23. include ${ADK_TOPDIR}/mk/package.mk
  24. $(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. libtorrent-install:
  30. ${INSTALL_DIR} ${IDIR_LIBTORRENT}/usr/lib
  31. ${CP} ${WRKINST}/usr/lib/libtorrent.so* ${IDIR_LIBTORRENT}/usr/lib
  32. include ${ADK_TOPDIR}/mk/pkg-bottom.mk