talimat 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. # Tanım: Sahne tabanlı, esnek 3D motor C ++ ile yazılmıştır
  2. # URL: http://www.ogre3d.org
  3. # Paketçi: Cihan_Alkan
  4. # Gerekler: boost cmake doxygen graphviz dejavu-ttf xorg-mesa mercurial python swig tinyxml sdl2
  5. # Grup: geliştirme
  6. isim=ogre
  7. surum=1.10.11
  8. devir=1
  9. kaynak=(https://github.com/OGRECave/ogre/archive/v${surum}.tar.gz)
  10. derle() {
  11. cd ogre-${surum}
  12. [[ -d build ]] && rm -rf build
  13. mkdir build && cd build
  14. cmake .. \
  15. -DCMAKE_INSTALL_PREFIX=/usr \
  16. -DOGRE_INSTALL_SAMPLES=TRUE \
  17. -DOGRE_INSTALL_DOCS=TRUE \
  18. -DOGRE_INSTALL_SAMPLES_SOURCE=TRUE \
  19. -DOGRE_BUILD_DEPENDENCIES=FALSE \
  20. -DOGRE_BUILD_COMPONENT_PYTHON=TRUE \
  21. -DCMAKE_BUILD_TYPE=Release
  22. make
  23. make OgreDoc
  24. make DESTDIR=${PKG} install
  25. mv ${PKG}/usr/bin/SampleBrowser ${PKG}/usr/bin/OgreSampleBrowser
  26. install -Dm644 ../LICENSE ${PKG}/usr/share/licenses/${isim}/LICENSE
  27. # move docs out of this package
  28. mv ${PKG}/usr/share/OGRE/docs ${SRC}/docs
  29. # move docs into this package
  30. install -dm755 ${PKG}/usr/share/doc
  31. mv ${SRC}/docs ${PKG}/usr/share/doc/OGRE/
  32. # symlink for docs
  33. install -dm755 ${PKG}/usr/share/OGRE/
  34. cd ${PKG}/usr/share
  35. ln -s /usr/share/doc/OGRE/ OGRE/docs
  36. }