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:= ctorrent
  5. PKG_VERSION:= dnh3.3.2
  6. PKG_RELEASE:= 2
  7. PKG_HASH:= c87366c91475931f75b924119580abd06a7b3cb3f00fef47346552cab1e24863
  8. PKG_DESCR:= console-based bittorrent client
  9. PKG_SECTION:= app/p2p
  10. PKG_NEEDS:= c++
  11. PKG_URL:= http://www.rahul.net/dholmes/ctorrent
  12. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=dtorrent/}
  13. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  14. PKG_CHOICES_CTORRENT:= WITH_LIBRESSL WITH_OPENSSL
  15. PKGCD_WITH_LIBRESSL:= use libressl for crypto
  16. PKGCB_WITH_LIBRESSL:= libressl
  17. PKGCS_WITH_LIBRESSL:= libressl
  18. PKGCD_WITH_OPENSSL:= use openssl for crypto
  19. PKGCB_WITH_OPENSSL:= openssl
  20. PKGCS_WITH_OPENSSL:= libopenssl
  21. include ${ADK_TOPDIR}/mk/package.mk
  22. $(eval $(call PKG_template,CTORRENT,ctorrent,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  23. ctorrent-install:
  24. ${INSTALL_DIR} ${IDIR_CTORRENT}/usr/bin
  25. ${CP} ${WRKINST}/usr/bin/ctorrent ${IDIR_CTORRENT}/usr/bin
  26. include ${ADK_TOPDIR}/mk/pkg-bottom.mk