buildall.sh 562 B

1234567891011121314151617181920
  1. #!/bin/bash
  2. rm -Rf "$WORKSPACE/prefix"
  3. mkdir "$WORKSPACE/prefix"
  4. git clone git://anongit.kde.org/kpmcore "$WORKSPACE/kpmcore"
  5. cd "$WORKSPACE/kpmcore"
  6. mkdir "$WORKSPACE/kpmcore/build"
  7. cd "$WORKSPACE/kpmcore/build"
  8. cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=/usr ..
  9. nice -n 18 make -j2
  10. make DESTDIR="$WORKSPACE/prefix" install
  11. rm -Rf "$WORKSPACE/build"
  12. mkdir "$WORKSPACE/build"
  13. cd "$WORKSPACE/build"
  14. CMAKE_PREFIX_PATH="$WORKSPACE/prefix/usr" cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=/usr -DWEBVIEW_FORCE_WEBKIT=1 ..
  15. nice -n 18 make -j2