From 3ecadbdde57bc85df5ab948a746134c01cfca3ef Mon Sep 17 00:00:00 2001 From: sibel Date: Fri, 28 Jan 2011 23:52:36 +0100 Subject: kdeadmin, correction 4.6.0 --- kde/kdeadmin/Pkgfile | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) (limited to 'kde/kdeadmin/Pkgfile') diff --git a/kde/kdeadmin/Pkgfile b/kde/kdeadmin/Pkgfile index 9d7e7c1c2..9745debbc 100755 --- a/kde/kdeadmin/Pkgfile +++ b/kde/kdeadmin/Pkgfile @@ -2,24 +2,32 @@ # URL: http://www.kde.org # Maintainer: NuTyX packager team # Packager: lesibel at free dot fr -# Depends on: kdelibs, kdebase-runtime, kdepimlibs, pycups, pyqt, system-config-printer, kdebindings +# 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.0 -release=1 -source=( ftp://ftp.kde.org/pub/kde/stable/$version/src/$name-$version.tar.bz2) +release=2 +source=( ftp://ftp.kde.org/pub/kde/stable/$version/src/$name-$version.tar.bz2 + kdeadmin-4.6.0-syslog-path.patch) build() { cd $name-* - sed -i "/kpackage/d" CMakeLists.txt + patch -p1 -i ../kdeadmin-4.6.0-syslog-path.patch + mkdir build cd build cmake ../ -DCMAKE_INSTALL_PREFIX=/usr \ - -Dscriptsdir=/usr/share/apps/knetworkconf/backends \ - -DBUILD_doc=OFF + -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|' } -- cgit v1.2.3-70-g09d2