milis/talimatname/genel/b/btogre/talimat

26 lines
609 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: İnce bir Bullet-Ogre bağlantısı.
# URL: http://www.ogre3d.org/forums/viewtopic.php?f=5&t=46856
# Paketçi: Cihan_Alkan
# Gerekler: cmake boost bullet ogre
# Grup: geliştirme
isim=btogre
surum=6266297
devir=1
kaynak=(cmake-targets.patch
BtOgre.cpp.patch)
derle() {
git_indir https://github.com/nikki93/btogre $isim
cd "${SRC}/${isim}"
patch -Np1 -i "${SRC}/cmake-targets.patch"
patch "${SRC}/${isim}/BtOgre.cpp" "${SRC}/BtOgre.cpp.patch"
cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr \
-DOGRE_BUILD=/opt/OGRE-1.9 \
-DOGRE_LIB_DIR=/opt/OGRE-1.9/lib
make
make DESTDIR="${PKG}" install
}