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

21 lines
636 B
Plaintext
Raw Normal View History

2018-07-01 06:10:10 +02:00
# Tanım: SDL and OpenGL bindings for Erlang
# URL: http://github.com/dgud/esdl/
# Paketçi: milisarge
# Gerekler: xorg-mesa rebar3 git erlang sdl xorg-glu
# Grup:
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"
}