summaryrefslogtreecommitdiffstats
path: root/kde/ktorrent/Pkgfile
blob: d4a9a7387fa585a898233b0d92ddf671c742f5f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Description: Client Bittorrent sur KDE4
# URL: http://ktorrent.org/
# Maintainer: NuTyX packager team
# Packager: lesibel at free dot fr
# Depends on: libktorrent, kde-workspace
# Run on: libktorrent,kde-workspace

name=ktorrent
version=4.1.1
release=2
source=(http://ktorrent.org/downloads/$version/$name-$version.tar.bz2 \
	http://nutyx.meticul.eu/files/patchs/$name/httpserver.patch)

build() {
	cd $name-$version
	patch -Np0 -i $SRC/httpserver.patch	
	cmake . -DCMAKE_BUILD_TYPE=Release \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_SKIP_RPATH=ON \
		-DENABLE_MEDIAPLAYER_PLUGIN=true
	make
	make DESTDIR=$PKG install
}