From 4931fcbf570efd967f28f72d8443761d87db38e8 Mon Sep 17 00:00:00 2001 From: MEBis Date: Wed, 7 Feb 2018 22:10:50 +0300 Subject: [PATCH] Update talimat --- talimatname/genel/a/allegro/talimat | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/talimatname/genel/a/allegro/talimat b/talimatname/genel/a/allegro/talimat index 06b4036e1..a5e38da79 100644 --- a/talimatname/genel/a/allegro/talimat +++ b/talimatname/genel/a/allegro/talimat @@ -1,19 +1,23 @@ # 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 +# Gerekler: flac gtk3 libidn libvorbis xorg-glu openal physfs xorg-libxpm xorg-libxxf86dga ninja # Grup: kütüphane isim=allegro -surum=5.1.12 +surum=5.2.3.0 devir=1 -kaynak=(http://download.gna.org/allegro/allegro-unstable/$surum/$isim-$surum.tar.gz) + +kaynak=(https://github.com/liballeg/allegro5/releases/download/5.2.3.0/allegro-5.2.3.0.tar.gz) derle() { - cd $isim-$surum.0 - cmake \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_BUILD_TYPE=Release . - make - make DESTDIR=$PKG install + 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 }