From 77a406173db36303cd12a6d61b738695de836b0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bart=C5=82omiej=20Piotrowski?= Date: Sat, 7 Jul 2012 10:30:41 +0200 Subject: main/rtorrent: moved from testing --- main/rtorrent/APKBUILD | 38 ++++++++++++++++++++++++++++++++++++++ testing/rtorrent/APKBUILD | 38 -------------------------------------- 2 files changed, 38 insertions(+), 38 deletions(-) create mode 100644 main/rtorrent/APKBUILD delete mode 100644 testing/rtorrent/APKBUILD diff --git a/main/rtorrent/APKBUILD b/main/rtorrent/APKBUILD new file mode 100644 index 000000000..bc3dfad10 --- /dev/null +++ b/main/rtorrent/APKBUILD @@ -0,0 +1,38 @@ +# Maintainer: Bartłomiej Piotrowski + +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" diff --git a/testing/rtorrent/APKBUILD b/testing/rtorrent/APKBUILD deleted file mode 100644 index bc3dfad10..000000000 --- a/testing/rtorrent/APKBUILD +++ /dev/null @@ -1,38 +0,0 @@ -# Maintainer: Bartłomiej Piotrowski - -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" -- cgit v1.2.3