milis/talimatname/genel/a/allegro/talimat

24 lines
608 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: C/C++ için çoklu platform oyun geliştirme kütüphanesi.
# URL: http://alleg.sourceforge.net/
# Paketçi: milisarge
# Gerekler: flac gtk3 libidn libvorbis xorg-glu openal physfs xorg-libxpm xorg-libxxf86dga ninja
# Grup: kütüphane
isim=allegro
surum=5.2.3.0
devir=1
kaynak=(https://github.com/liballeg/allegro5/releases/download/5.2.3.0/allegro-5.2.3.0.tar.gz)
derle() {
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
}