diff options
author | Bartłomiej Piotrowski <b@bpiotrowski.pl> | 2012-07-07 10:30:41 +0200 |
---|---|---|
committer | Bartłomiej Piotrowski <b@bpiotrowski.pl> | 2012-07-09 09:08:06 +0200 |
commit | 77a406173db36303cd12a6d61b738695de836b0c (patch) | |
tree | 1e427c3a1bcc39fa3ab727cb92bf41b1045fb2d7 /main | |
parent | 3bdcca3c8322a57ee6de2abf417199f496d990fd (diff) | |
download | aports-77a406173db36303cd12a6d61b738695de836b0c.tar.bz2 aports-77a406173db36303cd12a6d61b738695de836b0c.tar.xz |
main/rtorrent: moved from testing
Diffstat (limited to 'main')
-rw-r--r-- | main/rtorrent/APKBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/main/rtorrent/APKBUILD b/main/rtorrent/APKBUILD new file mode 100644 index 0000000000..bc3dfad102 --- /dev/null +++ b/main/rtorrent/APKBUILD @@ -0,0 +1,38 @@ +# Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl> + +pkgname=rtorrent +pkgver=0.9.2 +pkgrel=0 +pkgdesc='Ncurses BitTorrent client based on libTorrent' +url='http://libtorrent.rakshasa.no/' +license='GPL' +arch='all' +makedepends='libsigc++-dev libtorrent-dev curl-dev xmlrpc-c-dev ncurses-dev' +subpackages="$pkgname-doc" +source="http://libtorrent.rakshasa.no/downloads/${pkgname}-${pkgver}.tar.gz" + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + export LDFLAGS="${LDFLAGS} -lpthread" + ./configure \ + --prefix=/usr \ + --disable-debug \ + --with-xmlrpc-c \ + || return 1 + + make || return 1 +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install + install -D doc/faq.xml "${pkgdir}"/usr/share/doc/rtorrent/faq.xml \ + || return 1 + install -D doc/rtorrent.1 "${pkgdir}"/usr/share/man/man1/rtorrent.1 \ + || return 1 + install -D doc/rtorrent.rc \ + "${pkgdir}"/usr/share/doc/rtorrent/rtorrent.rc || return 1 +} + +md5sums="72c3e9ab859bda7cc8aa96c0b508b09f rtorrent-0.9.2.tar.gz" |