2017-10-27 20:46:27 +02:00
|
|
|
|
# Tanım: otp esaslarına göre erlang derleme aracı
|
2017-03-19 01:25:29 +01:00
|
|
|
|
# URL: https://github.com/rebar/rebar3
|
2017-10-27 20:46:27 +02:00
|
|
|
|
# Paketçi: milisarge
|
|
|
|
|
# Gerekler: erlang
|
2017-03-19 01:25:29 +01:00
|
|
|
|
|
2017-10-28 14:10:23 +02:00
|
|
|
|
isim=rebar3
|
|
|
|
|
surum=3.3.4
|
|
|
|
|
devir=1
|
|
|
|
|
kaynak=(https://github.com/rebar/rebar3/archive/${surum}.tar.gz)
|
2017-03-19 01:25:29 +01:00
|
|
|
|
|
2017-10-27 23:59:41 +02:00
|
|
|
|
derle(){
|
2017-10-28 14:10:23 +02:00
|
|
|
|
cd "$SRC/$isim-$surum"
|
2017-03-19 01:25:29 +01:00
|
|
|
|
./bootstrap
|
2017-10-28 14:10:23 +02:00
|
|
|
|
install -Dm0755 "${isim}" "$PKG/usr/bin/${isim}"
|
2017-03-19 01:25:29 +01:00
|
|
|
|
install -Dm0644 "priv/shell-completion/bash/rebar3" "$PKG/usr/share/bash-completion/completions/rebar3"
|
|
|
|
|
}
|
|
|
|
|
|