diff options
Diffstat (limited to 'extra/ktorrent/Pkgfile')
-rwxr-xr-x | extra/ktorrent/Pkgfile | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/extra/ktorrent/Pkgfile b/extra/ktorrent/Pkgfile new file mode 100755 index 000000000..6a717ae74 --- /dev/null +++ b/extra/ktorrent/Pkgfile @@ -0,0 +1,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.2 +release=1 +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 +} + + |