3
0
Fork 0
forked from mirrors/nixpkgs

Some kdebindings-4.2 fixes

svn path=/nixpkgs/trunk/; revision=14291
This commit is contained in:
Sander van der Burg 2009-03-02 10:19:20 +00:00
parent 301c3d31c9
commit df84d143c1
2 changed files with 12 additions and 0 deletions

View file

@ -0,0 +1,11 @@
source $stdenv/setup
myPatchPhase()
{
# Fix python site packages directory
sed -i -e "s@\${PYTHON_SITE_PACKAGES_DIR}@\${CMAKE_INSTALL_PREFIX}/lib/python2.5@g" \
-e "s@\${SIP_DEFAULT_SIP_DIR}@\${CMAKE_INSTALL_PREFIX}/share/sip@g" \
python/pykde4/CMakeLists.txt
}
patchPhase=myPatchPhase
genericBuild

View file

@ -7,6 +7,7 @@ stdenv.mkDerivation {
url = mirror://kde/stable/4.2.0/src/kdebindings-4.2.0.tar.bz2;
md5 = "6eae8fd968da83fe65e592993e416adc";
};
builder = ./builder.sh;
CMAKE_PREFIX_PATH=kdepimlibs;
buildInputs = [ cmake qt4 perl python sip pyqt4
kdelibs kdepimlibs automoc4 phonon ];