# Description: Programmes d'apprentissiage KDE # URL: http://www.kde.org # Maintainer: NuTyX packager team # Packager: lesibel at free dot fr # Depends on: cmake, automoc4, boost, qt, kdelibs, kdebase-runtime, pyqt, xorg-libxtst, xorg-libxscrnsaver, kdebase-runtime, libxslt, libxml2, docbook-xsl, libspectre, gsl, eigen2, gpsd # Run on: kdebase-runtime,libxslt,gpsd name=kdeedu version=4.6.5 release=1 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_SKIP_RPATH=OFF \ -DBUILD_doc=ON \ -DKDE_DEFAULT_HOME=.kde \ -DSYSCONF_INSTALL_DIR=/etc make make DESTDIR=$PKG install sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|' $PKG/usr/bin/pykig.py rm -rf $PKG/usr/share/apps/marble rm $PKG/usr/bin/geodatatest rm $PKG/usr/bin/marble rm $PKG/usr/bin/routing-instructions rm $PKG/usr/bin/tilecreator rm -rf $PKG/usr/include/marble/ # install -D -m644 $SRC/$name-$version/cmake/modules/FindKDEEdu.cmake \ # $PKG/usr/share/apps/cmake/modules/FindKDEEdu.cmake # install -D -m644 $SRC/$name-$version/cmake/modules/FindMarbleWidget.cmake \ # $PKG/usr/share/apps/cmake/modules/FindMarbleWidget.cmake }