diff options
Diffstat (limited to 'kde/kdeedu/Pkgfile')
-rwxr-xr-x | kde/kdeedu/Pkgfile | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/kde/kdeedu/Pkgfile b/kde/kdeedu/Pkgfile index 515cd7556..8e155d5c5 100755 --- a/kde/kdeedu/Pkgfile +++ b/kde/kdeedu/Pkgfile @@ -1,22 +1,33 @@ -# Description: Programmes d'apprentissage KDE +# Description: Programmes d'apprentissiage KDE # URL: http://www.kde.org # Maintainer: NuTyX packager team # Packager: lesibel at free dot fr -# Depends on: xorg-libxtst, kdebase-runtime, libxslt, libxml2 +# Depends on: cmake, automoc4, boost, qt, kdelibs, pyqt, xorg-libxtst, xorg-libxscrnsaver, kdebase-runtime, libxslt, libxml2, docbook-xsl, libspectre, gpsd # Run on: kdebase-runtime,libxslt name=kdeedu version=4.6.0 -release=1 +release=2 + source=( ftp://ftp.kde.org/pub/kde/stable/$version/src/$name-$version.tar.bz2) build() { + #unset MAKEFLAGS cd $name-* mkdir build cd build cmake ../ -DCMAKE_INSTALL_PREFIX=/usr \ - -DBUILD_doc=OFF + -DCMAKE_SKIP_RPATH=OFF \ + -DBUILD_doc=ON + make make DESTDIR=$PKG install -} + sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|' $PKG/usr/bin/pykig.py + + 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 +} |