# Tanım: Erlang için SDL ve OpenGL bağlaması # URL: http://github.com/dgud/esdl/ # Paketçi: milisarge # Gerekler: xorg-mesa rebar3 git erlang sdl xorg-glu # Grup: kütüphane isim=erlang-sdl surum=1.3.1 devir=1 kaynak=(https://github.com/dgud/esdl/archive/esdl-1.3.1.tar.gz::$isim-$surum.tar.gz) derle() { cd esdl-esdl-$surum find -type f -print0 | xargs -0 chmod 644 CFLAGS="$CFLAGS -Wno-deprecated-declarations" rebar3 compile install -d "$PKG/usr/lib/erlang/lib/esdl-$surum" cp -ruv c_src doc ebin include priv src \ "$PKG/usr/lib/erlang/lib/esdl-$surum/" install -Dm644 license.terms "$PKG/usr/share/licenses/$isim/LICENSE" }