Makefile 998 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 ${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 libstdcxx
  11. PKG_BUILDDEP:= 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 ${ADK_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 ${ADK_TOPDIR}/mk/pkg-bottom.mk