2018-08-17 08:13:57 +02:00
|
|
|
|
# Tanım: Erlang için SDL ve OpenGL bağlaması
|
2018-07-01 06:10:10 +02:00
|
|
|
|
# URL: http://github.com/dgud/esdl/
|
|
|
|
|
# Paketçi: milisarge
|
|
|
|
|
# Gerekler: xorg-mesa rebar3 git erlang sdl xorg-glu
|
2018-08-17 08:13:57 +02:00
|
|
|
|
# Grup: kütüphane
|
2018-07-01 06:10:10 +02:00
|
|
|
|
|
|
|
|
|
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"
|
|
|
|
|
}
|