diff options
author | sibel <lesibel@free.fr> | 2011-01-28 23:50:34 +0100 |
---|---|---|
committer | sibel <lesibel@free.fr> | 2011-01-28 23:50:34 +0100 |
commit | e7f76f424ef43369745b07a70deea6548a1f8ca5 (patch) | |
tree | 5b4165aed8916edeefa0d331d3a04820e9c748b4 /kde/kdebindings/Pkgfile | |
parent | 021931d5787dc4ad5d7d6ad228c6dcd62c230800 (diff) | |
download | nutyx-extra-e7f76f424ef43369745b07a70deea6548a1f8ca5.tar.gz nutyx-extra-e7f76f424ef43369745b07a70deea6548a1f8ca5.tar.bz2 nutyx-extra-e7f76f424ef43369745b07a70deea6548a1f8ca5.tar.xz nutyx-extra-e7f76f424ef43369745b07a70deea6548a1f8ca5.zip |
kdebindings, correction 4.6.0
Diffstat (limited to 'kde/kdebindings/Pkgfile')
-rwxr-xr-x | kde/kdebindings/Pkgfile | 27 |
1 files changed, 16 insertions, 11 deletions
diff --git a/kde/kdebindings/Pkgfile b/kde/kdebindings/Pkgfile index c2880dec0..2f24e163e 100755 --- a/kde/kdebindings/Pkgfile +++ b/kde/kdebindings/Pkgfile @@ -2,30 +2,35 @@ # URL: http://www.kde.org # Maintainer: NuTyX packager team # Packager: lesibel at free dot fr -# Depends on: sip,ruby, kdepim-runtime, kdegraphics, qscintilla +# Depends on: cmake, automoc4, boost, sip, ruby, kdepim-runtime, kdegraphics, qscintilla, docbook-xsl # Run on: ruby,kdepim-runtime,kdegraphics,qscintilla name=kdebindings version=4.6.0 -release=1 -_pydir=python2.7 +release=2 +pydir=python2.7 -source=(ftp://ftp.kde.org/pub/kde/stable/$version/src/$name-$version.tar.bz2) +source=(ftp://ftp.kde.org/pub/kde/stable/$version/src/$name-$version.tar.bz2 + kdebindings-sip.patch) build() { cd $name-* + patch -Np0 -i ../kdebindings-sip.patch + # fix ruby + for f in `find ruby -name CMakeLists.txt`; do + sed -i "s|\${RUBY_INCLUDE_PATH}|\${RUBY_INCLUDE_PATH} /usr/include/ruby-1.9.1/${_ARCHITECTURE}-linux|" "${f}" + done 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 + -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 make make DESTDIR=$PKG install |