From d9bcf7033311cfd1aff674b59b7204773a3f3082 Mon Sep 17 00:00:00 2001 From: milisbir Date: Sun, 1 Jul 2018 06:10:10 +0200 Subject: [PATCH] wings3d --- talimatname/genel/e/erlang-cl/talimat | 18 ++++++++++++++++ talimatname/genel/e/erlang-sdl/talimat | 20 +++++++++++++++++ talimatname/genel/o/ocl-icd/talimat | 20 +++++++++++++++++ talimatname/genel/o/opencl-headers/talimat | 25 ++++++++++++++++++++++ 4 files changed, 83 insertions(+) create mode 100644 talimatname/genel/e/erlang-cl/talimat create mode 100644 talimatname/genel/e/erlang-sdl/talimat create mode 100644 talimatname/genel/o/ocl-icd/talimat create mode 100644 talimatname/genel/o/opencl-headers/talimat diff --git a/talimatname/genel/e/erlang-cl/talimat b/talimatname/genel/e/erlang-cl/talimat new file mode 100644 index 000000000..6f2c84495 --- /dev/null +++ b/talimatname/genel/e/erlang-cl/talimat @@ -0,0 +1,18 @@ +# Tanım: OpenCL binding for Erlang +# URL: http://github.com/tonyrog/cl +# Paketçi: milisarge +# Gerekler: opencl-headers rebar3 erlang ocl-icd +# Grup: + +isim=erlang-cl +surum=1.2.3 +devir=1 +kaynak=(https://github.com/tonyrog/cl/archive/cl-1.2.3.tar.gz::erlang-cl-$surum.tar.gz) + +derle() { + cd "cl-cl-$surum" + rebar3 compile + mkdir -p "$PKG/usr/lib/erlang/lib/cl-$surum" + cp -r * "$PKG/usr/lib/erlang/lib/cl-$surum" + install -Dm644 COPYRIGHT "$PKG/usr/share/licenses/$isim/LICENSE" +} diff --git a/talimatname/genel/e/erlang-sdl/talimat b/talimatname/genel/e/erlang-sdl/talimat new file mode 100644 index 000000000..ff4fb93f6 --- /dev/null +++ b/talimatname/genel/e/erlang-sdl/talimat @@ -0,0 +1,20 @@ +# 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" +} diff --git a/talimatname/genel/o/ocl-icd/talimat b/talimatname/genel/o/ocl-icd/talimat new file mode 100644 index 000000000..495f1c8d6 --- /dev/null +++ b/talimatname/genel/o/ocl-icd/talimat @@ -0,0 +1,20 @@ +# Tanım: OpenCL ICD Bindings +# URL: https://forge.imag.fr/projects/ocl-icd/ +# Paketçi: milisarge +# Gerekler: ruby xorg-mesa ruby opencl-headers +# Grup: + +isim=ocl-icd +surum=2.2.12 +devir=1 +kaynak=(https://forge.imag.fr/frs/download.php/836/ocl-icd-$surum.tar.gz) + +derle() { + cd "$SRC/$isim-$surum" + ./configure --prefix=/usr + make + make -k check + make DESTDIR="$PKG/" install + install -m755 -d "$PKG/usr/share/licenses/ocl-icd" + install -m644 "$SRC/$isim-$surum/COPYING" "${PKG}/usr/share/licenses/ocl-icd/" +} diff --git a/talimatname/genel/o/opencl-headers/talimat b/talimatname/genel/o/opencl-headers/talimat new file mode 100644 index 000000000..117d94a21 --- /dev/null +++ b/talimatname/genel/o/opencl-headers/talimat @@ -0,0 +1,25 @@ +# Tanım: OpenCL (Open Computing Language) header files +# URL: https://www.khronos.org/registry/cl/ +# Paketçi: milisarge +# Gerekler: python3 +# Grup: + +isim=opencl-headers +surum=2.2.20170516 +devir=1 +kaynak=(https://github.com/KhronosGroup/OpenCL-Headers/archive/master.tar.gz::opencl-headers-2.2.20170516.tar.gz + https://github.com/KhronosGroup/OpenCL-CLHPP/archive/master.tar.gz::openclhpp-2.2.20170516.tar.gz) + +derle() { + cd "${SRC}"/OpenCL-Headers-master/CL + install -dm755 "${PKG}"/usr/include/CL + for h in *.h; do + install -m 644 ${h} "${PKG}"/usr/include/CL/ + done + # remove useless headers + rm "${PKG}"/usr/include/CL/{cl_d3d,cl_dx9}*.h + cd "${SRC}"/OpenCL-CLHPP-master + python3 gen_cl_hpp.py -i input_cl.hpp -o cl.hpp + install -m 644 cl.hpp "${PKG}"/usr/include/CL/ + install -m 644 input_cl2.hpp "${PKG}"/usr/include/CL/cl2.hpp +}