nixpkgs/pkgs/desktops/kde-4.2/bindings/builder.sh
Sander van der Burg df84d143c1 Some kdebindings-4.2 fixes
svn path=/nixpkgs/trunk/; revision=14291
2009-03-02 10:19:20 +00:00

12 lines
323 B
Bash

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