diff options
author | tnut <thierryn1 at hispeed dot ch> | 2009-11-16 17:41:21 +0100 |
---|---|---|
committer | tnut <thierryn1 at hispeed dot ch> | 2009-11-16 17:41:21 +0100 |
commit | 5618c6784851e1eaeef7af8cfbdde34e99950d71 (patch) | |
tree | fc1881f1c67498af435f21f854d5fc5856252256 /kde/ktorrent/Pkgfile | |
parent | 859b27d94aa9a811dbe42360c7ab6d1d4302a87f (diff) | |
parent | f9ace4611d087035d641aa6c093d24cd2c9b2848 (diff) | |
download | nutyx-extra-5618c6784851e1eaeef7af8cfbdde34e99950d71.tar.gz nutyx-extra-5618c6784851e1eaeef7af8cfbdde34e99950d71.tar.bz2 nutyx-extra-5618c6784851e1eaeef7af8cfbdde34e99950d71.tar.xz nutyx-extra-5618c6784851e1eaeef7af8cfbdde34e99950d71.zip |
Merge commit 'lesibel/master'
Diffstat (limited to 'kde/ktorrent/Pkgfile')
-rwxr-xr-x | kde/ktorrent/Pkgfile | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/kde/ktorrent/Pkgfile b/kde/ktorrent/Pkgfile new file mode 100755 index 000000000..1be7df9c5 --- /dev/null +++ b/kde/ktorrent/Pkgfile @@ -0,0 +1,28 @@ +# Description: Client Bittorrent sur KDE4 +# URL: http://ktorrent.org/ +# Maintainer: NuTyX packager team +# Packager: lesibel at free dot fr +# Depends on: kdelibs, qca, gmp, libxft, kdebase-runtime, taglib, hicolor-icon-theme +name=ktorrent +version=3.3 +release=2 +group=app +source=(http://ktorrent.org/downloads/$version/$name-$version.tar.bz2 \ + $name.png $name.desktop 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 \ + -DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed' \ + -DENABLE_MEDIAPLAYER_PLUGIN=false + make + make DESTDIR=$PKG install + mkdir -p $PKG/usr/share/applications + install -m 644 ../$name.desktop $PKG/usr/share/applications/ + mkdir -p $PKG/usr/share/icons/hicolor/48x48/apps/ + install -m 644 ../$name.png $PKG/usr/share/icons/hicolor/48x48/apps/ +} + + |