Makefile 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. # $Id$
  2. #-
  3. # This file is part of the OpenADK project. OpenADK is copyrighted
  4. # material, please see the LICENCE file in the top-level directory.
  5. include ${TOPDIR}/rules.mk
  6. PKG_NAME:= rtorrent
  7. PKG_VERSION:= 0.8.2
  8. PKG_RELEASE:= 1
  9. PKG_MD5SUM:= a2456182e1767e5aed7341dbbd058f60
  10. PKG_DESCR:= console torrent application
  11. PKG_SECTION:= net
  12. PKG_DEPENDS:= libncurses libtorrent libcurl
  13. PKG_URL:= http://libtorrent.rakshasa.no
  14. PKG_SITES:= http://libtorrent.rakshasa.no/downloads/
  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:= autotool gnu
  23. CONFIGURE_ARGS+= --enable-aligned
  24. BUILD_STYLE:= auto
  25. INSTALL_STYLE:= auto
  26. post-install:
  27. ${INSTALL_DIR} ${IDIR_RTORRENT}/usr/bin
  28. ${INSTALL_BIN} ${WRKINST}/usr/bin/rtorrent ${IDIR_RTORRENT}/usr/bin
  29. include ${TOPDIR}/mk/pkg-bottom.mk