Makefile 1.0 KB

123456789101112131415161718192021222324252627282930313233
  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_MD5SUM:= e82f380a9d4b55b379e0e73339c73895
  8. PKG_DESCR:= bittorrent library
  9. PKG_SECTION:= libs/net
  10. PKG_DEPENDS:= libopenssl libsigc++
  11. PKG_BUILDDEP:= openssl libsigc++ gettext-tiny
  12. PKG_URL:= http://libtorrent.rakshasa.no/
  13. PKG_SITES:= http://libtorrent.rakshasa.no/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. libtorrent-install:
  23. ${INSTALL_DIR} ${IDIR_LIBTORRENT}/usr/lib
  24. ${CP} ${WRKINST}/usr/lib/libtorrent.so* ${IDIR_LIBTORRENT}/usr/lib
  25. include ${ADK_TOPDIR}/mk/pkg-bottom.mk