1
0

Makefile 895 B

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