2018-08-17 08:13:08 +02:00
|
|
|
|
# Tanım: Erlang OpenCL bağlaması
|
2018-07-01 06:10:10 +02:00
|
|
|
|
# URL: http://github.com/tonyrog/cl
|
|
|
|
|
# Paketçi: milisarge
|
|
|
|
|
# Gerekler: opencl-headers rebar3 erlang ocl-icd
|
2018-08-17 08:13:08 +02:00
|
|
|
|
# Grup: kütüphane
|
2018-07-01 06:10:10 +02:00
|
|
|
|
|
|
|
|
|
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"
|
|
|
|
|
}
|