Makefile 994 B

12345678910111213141516171819202122232425262728293031
  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:= rtorrent
  5. PKG_VERSION:= 0.9.4
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= bc0a2c1ee613b68f37021beaf4e64a9252f91ed06f998c1e897897c354ce7e84
  8. PKG_DESCR:= console torrent application
  9. PKG_SECTION:= app/p2p
  10. PKG_DEPENDS:= libncurses libtorrent libcurl
  11. PKG_BUILDDEP:= ncurses libtorrent curl
  12. PKG_NEEDS:= c++
  13. PKG_URL:= http://libtorrent.rakshasa.no/
  14. PKG_SITES:= http://distfiles.openadk.org/
  15. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  16. include ${ADK_TOPDIR}/mk/package.mk
  17. AUTOTOOL_STYLE:= autoreconf
  18. TARGET_LDFLAGS+= -lpthread -ltinfo
  19. $(eval $(call PKG_template,RTORRENT,rtorrent,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  20. rtorrent-install:
  21. ${INSTALL_DIR} ${IDIR_RTORRENT}/usr/bin
  22. ${INSTALL_BIN} ${WRKINST}/usr/bin/rtorrent ${IDIR_RTORRENT}/usr/bin
  23. include ${ADK_TOPDIR}/mk/pkg-bottom.mk