Makefile 1.1 KB

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