Makefile 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  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:= rtorrent
  5. PKG_VERSION:= 0.8.5
  6. PKG_RELEASE:= 1
  7. PKG_BUILDDEP+= ncurses libtorrent curl
  8. PKG_MD5SUM:= e701095e1824b7e512a17000f4c0a783
  9. PKG_DESCR:= console torrent application
  10. PKG_SECTION:= net
  11. PKG_DEPENDS:= libncurses libtorrent libcurl
  12. PKG_URL:= http://libtorrent.rakshasa.no
  13. PKG_SITES:= http://libtorrent.rakshasa.no/downloads/
  14. #PKG_CXX:= RTORRENT
  15. include ${TOPDIR}/mk/package.mk
  16. $(eval $(call PKG_template,RTORRENT,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. #ifeq ($(ADK_COMPILE_RTORRENT_WITH_UCLIBCXX),y)
  18. #CONFIGURE_ENV+= CXXFLAGS="-fno-builtin -fno-rtti -nostdinc++ \
  19. # -I${STAGING_DIR}/usr/include/uClibc++" \
  20. # LIBS="-nodefaultlibs -luClibc++ -lc -lm -lgcc"
  21. #endif
  22. CONFIGURE_STYLE:= gnu
  23. BUILD_STYLE:= auto
  24. INSTALL_STYLE:= auto
  25. post-install:
  26. ${INSTALL_DIR} ${IDIR_RTORRENT}/usr/bin
  27. ${INSTALL_BIN} ${WRKINST}/usr/bin/rtorrent ${IDIR_RTORRENT}/usr/bin
  28. include ${TOPDIR}/mk/pkg-bottom.mk