Browse Source

kdelibs: simplified kde4 build reusing code from cmake

user/amery/mess
Aldas Nabazas 15 years ago
committed by Alejandro Mery
parent
commit
49d556a979
1 changed files with 1 additions and 9 deletions
  1. +1
    -9
      kde/kdelibs/parse-config

+ 1
- 9
kde/kdelibs/parse-config

@ -29,15 +29,7 @@ if hasflag KDE; then
export PATH="$(pkgprefix bindir qt4):$PATH"
export LD_LIBRARY_PATH="$QTDIR/${libdir##*/}:/$prefix/${libdir##*/}:$LD_LIBRARY_PATH"
kde_cmake()
{
mkdir build; cd build
var_remove_regex confopt ' ' '--.*'
var_remove_regex extraconfopt ' ' '--.*'
var_append extraconfopt " " "-DCMAKE_INSTALL_PREFIX=/$prefix -DCMAKE_LIBRARY_PATH=$libdir"
eval cmake $confopt $extraconfopt ..
}
. $base/package/*/*/cmake-conf.in
hook_add preconf 3 "kde_cmake"
fi

Loading…
Cancel
Save