update kernel, add gcc 9.2
[openadk.git] / package / rtorrent / Makefile
blob8777baf879f5c1cc52f08ec54d31eceb1d6d4ad0
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include ${ADK_TOPDIR}/rules.mk
6 PKG_NAME:= rtorrent
7 PKG_VERSION:= 0.9.6
8 PKG_RELEASE:= 1
9 PKG_HASH:= 1e69c24f1f26f8f07d58d673480dc392bfc4317818c1115265b08a7813ff5b0e
10 PKG_DESCR:= console torrent application
11 PKG_SECTION:= app/p2p
12 PKG_DEPENDS:= libncurses libtorrent libcurl
13 PKG_BUILDDEP:= ncurses libtorrent curl
14 PKG_NEEDS:= c++
15 PKG_URL:= https://rakshasa.github.io/rtorrent/
16 PKG_SITES:= http://rtorrent.net/downloads/
18 DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
20 include ${ADK_TOPDIR}/mk/package.mk
22 AUTOTOOL_STYLE:= autoreconf
23 TARGET_LDFLAGS+= -lpthread -ltinfo
25 $(eval $(call PKG_template,RTORRENT,rtorrent,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
27 rtorrent-install:
28 ${INSTALL_DIR} ${IDIR_RTORRENT}/usr/bin
29 ${INSTALL_BIN} ${WRKINST}/usr/bin/rtorrent ${IDIR_RTORRENT}/usr/bin
31 include ${ADK_TOPDIR}/mk/pkg-bottom.mk