wok-next rev 16613
libjreen: update QT4_CREATE_MOC_COMMAND in jreenMacros.cmake
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 08 16:42:02 2014 +0000 (2014-05-08) |
parents | 002d4bf6c905 |
children | a30c667a760b |
files | libjreen/receipt |
line diff
1.1 --- a/libjreen/receipt Thu May 08 14:49:56 2014 +0000 1.2 +++ b/libjreen/receipt Thu May 08 16:42:02 2014 +0000 1.3 @@ -16,7 +16,9 @@ 1.4 # Rules to configure and make the package. 1.5 compile_rules() 1.6 { 1.7 - cd $src 1.8 + sed -i -e 's/ moc_options /&moc_target /' \ 1.9 + -e 's/\(QT4_CREATE_MOC_COMMAND.*\))/\1 "${moc_target}")/' \ 1.10 + cmake/jreenMacros.cmake 1.11 mkdir build && cd build 1.12 cmake .. -DCMAKE_INSTALL_PREFIX=/usr && 1.13 make DESTDIR=$DESTDIR install