2017-10-27 20:46:27 +02:00
|
|
|
|
# Tanım: c++ kullanan hafif 2D ve 3D oyun makinesi
|
2017-08-05 19:13:43 +02:00
|
|
|
|
# URL: http://www.rhythmbox.org
|
2017-10-27 20:46:27 +02:00
|
|
|
|
# Paketçi: yasarciv67@gmail.com
|
|
|
|
|
# Gerekler: cmake xorg-libx11 xorg-glu xorg-libxrandr
|
2017-08-05 19:13:43 +02:00
|
|
|
|
|
2017-10-28 14:10:23 +02:00
|
|
|
|
isim=urho3d
|
|
|
|
|
surum=1.6
|
|
|
|
|
devir=1
|
2017-08-05 19:13:43 +02:00
|
|
|
|
|
2017-10-28 14:10:23 +02:00
|
|
|
|
kaynak=(https://github.com/urho3d/Urho3D/archive/1.6.tar.gz::Urho3D-1.6.tar.gz)
|
2017-08-05 19:13:43 +02:00
|
|
|
|
|
2017-10-27 23:59:41 +02:00
|
|
|
|
derle() {
|
2017-08-05 19:13:43 +02:00
|
|
|
|
cd Urho3D-1.6
|
2017-10-28 14:10:23 +02:00
|
|
|
|
mkdir -p "$SRC/Urho3D-$surum/build"
|
|
|
|
|
cd "$SRC/Urho3D-$surum/build"
|
|
|
|
|
cmake "$SRC/Urho3D-$surum/" -DCMAKE_INSTALL_PREFIX="/usr" -DURHO3D_USE_LIB_DEB=1 -DURHO3D_SAMPLES=1
|
2017-08-05 19:13:43 +02:00
|
|
|
|
make
|
2017-10-28 14:10:23 +02:00
|
|
|
|
cd "$SRC/Urho3D-$surum/build"
|
2017-08-05 19:13:43 +02:00
|
|
|
|
make DESTDIR="$PKG/" install
|
|
|
|
|
cd "$PKG/usr/bin"
|
|
|
|
|
mv "./Editor.sh" "./urho3d-editor.sh"
|
|
|
|
|
rm lua luac
|
|
|
|
|
}
|