1
0

Makefile 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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:= ctorrent
  5. PKG_VERSION:= 1.3.4-dnh2
  6. PKG_RELEASE:= 2
  7. PKG_MD5SUM:= 6635e2d0d0ee21faeb85d95cd93c137b
  8. PKG_DESCR:= console-based BitTorrent client
  9. PKG_SECTION:= net
  10. PKG_URL:= http://www.rahul.net/dholmes/ctorrent
  11. PKG_SITES:= http://www.rahul.net/dholmes/ctorrent/
  12. WRKDIST= ${WRKDIR}/${PKG_NAME}-dnh2
  13. ifeq ($(ADK_COMPILE_CTORRENT_WITH_UCLIBCXX),y)
  14. PKG_DEPENDS:= uclibc++
  15. else
  16. PKG_DEPENDS:= libstdcxx
  17. endif
  18. include ${TOPDIR}/mk/package.mk
  19. $(eval $(call PKG_template,CTORRENT,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  20. ifeq ($(ADK_COMPILE_CTORRENT_WITH_UCLIBCXX),y)
  21. TCXXFLAGS+= -fno-builtin -fno-rtti -nostdinc++
  22. TLDFLAGS+= -lgcc_s -luClibc++ -lc -lm -nodefaultlibs
  23. endif
  24. CONFIGURE_STYLE= gnu
  25. BUILD_STYLE= auto
  26. INSTALL_STYLE= auto
  27. post-install:
  28. ${INSTALL_DIR} ${IDIR_CTORRENT}
  29. ${CP} ${WRKINST}/* ${IDIR_CTORRENT}/
  30. include ${TOPDIR}/mk/pkg-bottom.mk