talimat 664 B

1234567891011121314151617181920212223242526
  1. # Description: Django şablon sistemine dayanan ve Qt ile yazılmış bir dize şablonu altyapısı
  2. # URL: http://www.gitorious.org/grantlee/pages/Home
  3. # Packager: milisarge
  4. # Depends on: qt4
  5. name=grantlee
  6. version=0.5.1
  7. release=2
  8. source=(http://downloads.grantlee.org/$name-$version.tar.gz)
  9. build() {
  10. cd $name-$version
  11. sed -e 's|INCLUDE_INSTALL_DIR include|INCLUDE_INSTALL_DIR include/grantlee-qt4|' -i CMakeLists.txt
  12. mkdir build
  13. cd build
  14. cmake -DCMAKE_INSTALL_PREFIX=/usr \
  15. -DCMAKE_BUILD_TYPE=Release \
  16. -DBUILD_TESTS=OFF \
  17. -DQT_QMAKE_EXECUTABLE=/usr/bin/qmake-qt4 \
  18. ..
  19. make
  20. make DESTDIR=$PKG install
  21. }