allow for uclibc-ng
[openadk.git] / package / rtorrent / Makefile
blob9b896e093b8a08c9e7a0767ba1fd867966dc3710
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.4
8 PKG_RELEASE:= 1
9 PKG_HASH:= bc0a2c1ee613b68f37021beaf4e64a9252f91ed06f998c1e897897c354ce7e84
10 PKG_DESCR:= console torrent application
11 PKG_SECTION:= app/p2p
12 PKG_DEPENDS:= libncurses libtorrent libcurl libstdcxx
13 PKG_BUILDDEP:= ncurses libtorrent curl
14 PKG_URL:= http://libtorrent.rakshasa.no/
15 PKG_SITES:= http://distfiles.openadk.org/
17 DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
19 include ${ADK_TOPDIR}/mk/package.mk
21 AUTOTOOL_STYLE:= autoreconf
22 TARGET_LDFLAGS+= -lpthread -ltinfo
24 $(eval $(call PKG_template,RTORRENT,rtorrent,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
26 rtorrent-install:
27 ${INSTALL_DIR} ${IDIR_RTORRENT}/usr/bin
28 ${INSTALL_BIN} ${WRKINST}/usr/bin/rtorrent ${IDIR_RTORRENT}/usr/bin
30 include ${ADK_TOPDIR}/mk/pkg-bottom.mk