summaryrefslogtreecommitdiffstats
path: root/kde/ktorrent/Pkgfile
diff options
context:
space:
mode:
authorsibel <lesibel@free.fr>2009-11-14 18:37:50 +0100
committersibel <lesibel@free.fr>2009-11-14 18:37:50 +0100
commit5f8654f8237c37fb80f48b6da5d0e08bc532de16 (patch)
tree682c5aedcbc3c10972ec5838520d76af46f0a407 /kde/ktorrent/Pkgfile
parent35e766af2c6a09fe5618a23bb85f31000cad459b (diff)
downloadnutyx-extra-5f8654f8237c37fb80f48b6da5d0e08bc532de16.tar.gz
nutyx-extra-5f8654f8237c37fb80f48b6da5d0e08bc532de16.tar.bz2
nutyx-extra-5f8654f8237c37fb80f48b6da5d0e08bc532de16.tar.xz
nutyx-extra-5f8654f8237c37fb80f48b6da5d0e08bc532de16.zip
Ajout de Ktorrent#3.3-1
Diffstat (limited to 'kde/ktorrent/Pkgfile')
-rwxr-xr-xkde/ktorrent/Pkgfile28
1 files changed, 28 insertions, 0 deletions
diff --git a/kde/ktorrent/Pkgfile b/kde/ktorrent/Pkgfile
new file mode 100755
index 000000000..741c3db1a
--- /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=1
+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/
+}
+
+