Makefile 961 B

123456789101112131415161718192021222324252627282930
  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.9.2
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 72c3e9ab859bda7cc8aa96c0b508b09f
  8. PKG_DESCR:= console torrent application
  9. PKG_SECTION:= p2p
  10. PKG_DEPENDS:= libncurses libtorrent libcurl libstdcxx
  11. PKG_BUILDDEP:= autotool ncurses libtorrent curl
  12. PKG_URL:= http://libtorrent.rakshasa.no/
  13. PKG_SITES:= http://libtorrent.rakshasa.no/downloads/
  14. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  15. include ${TOPDIR}/mk/package.mk
  16. AUTOTOOL_STYLE:= autoreconf
  17. TARGET_LDFLAGS+= -lpthread -ltinfo
  18. $(eval $(call PKG_template,RTORRENT,rtorrent,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  19. rtorrent-install:
  20. ${INSTALL_DIR} ${IDIR_RTORRENT}/usr/bin
  21. ${INSTALL_BIN} ${WRKINST}/usr/bin/rtorrent ${IDIR_RTORRENT}/usr/bin
  22. include ${TOPDIR}/mk/pkg-bottom.mk