milis/talimatname/genel/e/erlang-sdl/talimat

21 lines
651 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: 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"
}