summaryrefslogtreecommitdiffstats
path: root/kde
diff options
context:
space:
mode:
Diffstat (limited to 'kde')
-rwxr-xr-xkde/kdebindings/Pkgfile14
1 files changed, 7 insertions, 7 deletions
diff --git a/kde/kdebindings/Pkgfile b/kde/kdebindings/Pkgfile
index 01e961f5b..4a53f5c06 100755
--- a/kde/kdebindings/Pkgfile
+++ b/kde/kdebindings/Pkgfile
@@ -2,29 +2,29 @@
# URL: http://www.kde.org
# Maintainer: NuTyX packager team
# Packager: lesibel at free dot fr
-# Depends on: cmake, automoc4, boost, sip, ruby, kdepim-runtime, kdegraphics, qscintilla, docbook-xsl
+# Depends on: cmake, qt, kdelibs, kdepimlibs, kdegraphics, qscintilla, ruby, pyqt
# Run on: ruby,kdepim-runtime,kdegraphics,qscintilla
name=kdebindings
version=4.6.0
release=3
-pydir=python2.7
+_pydir=python2.7
+_pybin=python2
source=(ftp://ftp.kde.org/pub/kde/stable/$version/src/$name-$version.tar.bz2)
build() {
cd $name-*
-
mkdir build
cd build
-
cmake ../ -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_SKIP_RPATH=ON \
-DWITH_PolkitQt=ON \
- -DPYTHON_EXECUTABLE=/usr/bin/$_pybin \
- -DPYTHON_INCLUDE_DIR=/usr/include/$_pydir \
- -DPYTHON_LIBRARY=/usr/lib/lib$_pydir.so
+ -DPYTHON_EXECUTABLE=/usr/bin/${_pybin} \
+ -DPYTHON_INCLUDE_DIR=/usr/include/${_pydir} \
+ -DPYTHON_LIBRARY=/usr/lib/lib${_pydir}.so \
+ -DRUBY_INCLUDE_DIRS="/usr/include/ruby-1.9.1 /usr/include/ruby-1.9.1/`uname -m`-linux"
make
make DESTDIR=$PKG install