2010-06-02 03:45:06 +08:00
|
|
|
#
|
|
|
|
# Chakra Packages for Chakra, part of chakra-project.org
|
|
|
|
#
|
|
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
2010-05-31 06:57:45 +08:00
|
|
|
|
|
|
|
pkgname=ktorrent
|
2011-03-22 19:27:00 +08:00
|
|
|
pkgver=4.1.0
|
|
|
|
pkgrel=1
|
|
|
|
ktorver=4.1.0
|
2010-05-31 06:57:45 +08:00
|
|
|
pkgdesc="A BitTorrent program for KDE"
|
|
|
|
arch=('i686' 'x86_64')
|
|
|
|
url="http://ktorrent.org"
|
|
|
|
license=('GPL2')
|
2011-03-22 19:27:00 +08:00
|
|
|
depends=('kdelibs' 'kdebase-runtime' 'kdepimlibs' 'qca' 'gmp' 'taglib' 'libktorrent>=1.1.0')
|
|
|
|
makedepends=('cmake' 'automoc4' 'docbook-xsl')
|
2012-03-16 22:51:37 +08:00
|
|
|
categories=('network')
|
2010-06-01 06:46:56 +08:00
|
|
|
source=(http://ktorrent.org/downloads/${ktorver}/ktorrent-${pkgver}.tar.bz2)
|
2010-05-31 06:57:45 +08:00
|
|
|
options=('libtool')
|
2011-03-22 19:27:00 +08:00
|
|
|
md5sums=('3981c00810217e88b9772438df31df08')
|
2010-05-31 06:57:45 +08:00
|
|
|
|
|
|
|
build() {
|
2010-10-07 07:22:10 +08:00
|
|
|
cd ${srcdir}/ktorrent-${ktorver}
|
2010-05-31 06:57:45 +08:00
|
|
|
|
2010-06-01 06:46:56 +08:00
|
|
|
cmake . -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
|
2010-05-31 06:57:45 +08:00
|
|
|
make || return 1
|
2010-06-01 06:46:56 +08:00
|
|
|
make DESTDIR=${pkgdir} install
|
2010-05-31 06:57:45 +08:00
|
|
|
}
|