Makefile 950 B

12345678910111213141516171819202122232425262728293031
  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 ${TOPDIR}/rules.mk
  4. PKG_NAME:= libtorrent
  5. PKG_VERSION:= 0.13.2
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 96c0b81501357df402ab592f59ecaeab
  8. PKG_DESCR:= bittorrent library
  9. PKG_SECTION:= libs
  10. PKG_DEPENDS:= libopenssl libsigc++
  11. PKG_BUILDDEP:= openssl libsigc++
  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 ${TOPDIR}/mk/package.mk
  17. $(eval $(call PKG_template,LIBTORRENT,libtorrent,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  18. CONFIGURE_ARGS+= --enable-aligned \
  19. --without-kqueue
  20. libtorrent-install:
  21. ${INSTALL_DIR} ${IDIR_LIBTORRENT}/usr/lib
  22. ${CP} ${WRKINST}/usr/lib/libtorrent.so* ${IDIR_LIBTORRENT}/usr/lib
  23. include ${TOPDIR}/mk/pkg-bottom.mk