milis/talimatname/genel/a/allegro/talimat

24 lines
608 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: C/C++ için çoklu platform oyun geliştirme kütüphanesi.
2017-12-22 22:59:36 +01:00
# URL: http://alleg.sourceforge.net/
# Paketçi: milisarge
2018-02-07 20:10:50 +01:00
# Gerekler: flac gtk3 libidn libvorbis xorg-glu openal physfs xorg-libxpm xorg-libxxf86dga ninja
2017-12-22 23:10:01 +01:00
# Grup: kütüphane
2016-02-24 01:27:23 +01:00
2017-10-28 14:10:23 +02:00
isim=allegro
2018-02-07 20:10:50 +01:00
surum=5.2.3.0
2017-10-28 14:10:23 +02:00
devir=1
2018-02-07 20:10:50 +01:00
kaynak=(https://github.com/liballeg/allegro5/releases/download/5.2.3.0/allegro-5.2.3.0.tar.gz)
2016-02-24 01:27:23 +01:00
2017-10-27 23:59:41 +02:00
derle() {
2018-02-07 20:10:50 +01:00
mkdir -p build && cd build
cmake "../allegro-$surum" \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DWANT_DOCS=OFF \
-GNinja
ninja
cd ../
DESTDIR="$PKG" ninja -C build install
2017-01-30 23:55:06 +01:00
}