talimat 651 B

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