summaryrefslogtreecommitdiffstats
path: root/kde/kdeedu/Pkgfile
diff options
context:
space:
mode:
authorsibel <lesibel@free.fr>2011-01-30 10:03:49 +0100
committersibel <lesibel@free.fr>2011-01-30 10:03:49 +0100
commita90a280f228b0c359e167fe1ce797176475d860a (patch)
tree5751ddea2c3227ad791e48e228f501465a8edc75 /kde/kdeedu/Pkgfile
parentd997302a6b9690d21df4abdfcdf4fa54a0eb682a (diff)
downloadnutyx-extra-a90a280f228b0c359e167fe1ce797176475d860a.tar.gz
nutyx-extra-a90a280f228b0c359e167fe1ce797176475d860a.tar.bz2
nutyx-extra-a90a280f228b0c359e167fe1ce797176475d860a.tar.xz
nutyx-extra-a90a280f228b0c359e167fe1ce797176475d860a.zip
kdeedu, maj port 4.6.0-2
Diffstat (limited to 'kde/kdeedu/Pkgfile')
-rwxr-xr-xkde/kdeedu/Pkgfile21
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
+}