# Description: programmes pour gérer les utilisateurs, initialisation de fichiers, programateur de taches, et connections réseaux pour KDE # URL: http://www.kde.org # Maintainer: NuTyX packager team # Packager: lesibel at free dot fr # Depends on: cmake, automoc4, kdelibs, kdebase-runtime, kdepimlibs, pycups, pyqt, system-config-printer, kdebindings, docbook-xsl # Run on: kdelibs,kdebase-runtime,kdepimlibs,pycups,pyqt,system-config-printer,kdebindings name=kdeadmin version=4.6.1 release=1 source=( ftp://ftp.kde.org/pub/kde/stable/$version/src/$name-$version.tar.bz2 kdeadmin-4.6.1-syslog-path.patch) build() { cd $name-* patch -p1 -i ../kdeadmin-4.6.1-syslog-path.patch mkdir build cd build cmake ../ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_SKIP_RPATH=ON \ -DBUILD_kpackage=OFF \ -DBUILD_knetworkconf=OFF \ -DBUILD_lilo-config=OFF \ -DBUILD_strigi-analyzer=OFF make make DESTDIR=$PKG install find $PKG -name '*.py' | xargs sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|' }