mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-13 12:11:21 +00:00
erlang R16B02
This commit is contained in:
parent
81ede3ece1
commit
64010fcbba
46
erlang.json
Normal file
46
erlang.json
Normal file
@ -0,0 +1,46 @@
|
||||
{
|
||||
"homepage": "http://www.erlang.org",
|
||||
"version": "R16B02",
|
||||
"license": "http://www.erlang.org/EPLICENSE",
|
||||
"architecture": {
|
||||
"64bit": {
|
||||
"url": "http://www.erlang.org/download/otp_win64_R16B02.exe#/dl.bzip",
|
||||
"hash": "8f2f50e377319d364938475b1492f44d257eafd67c23f90246799bf87158a452"
|
||||
},
|
||||
"32bit": {
|
||||
"url": "http://www.erlang.org/download/otp_win32_R16B02.exe#/dl.bzip",
|
||||
"hash": "504a7ce4d44e2558b400e64135b6e164d48980cd27b2f869321c5f4d799198b2"
|
||||
}
|
||||
},
|
||||
"extract_dir": "$_OUTDIR",
|
||||
"bin": [
|
||||
"bin\\erl.exe"
|
||||
],
|
||||
"post_install": "
|
||||
$ini = \"$dir\\bin\\erl.ini\"
|
||||
$escdir = $dir -replace '\\\\', '\\\\'
|
||||
'[erlang]' | out-file $ini -encoding default
|
||||
\"Bindir=$escdir\\\\erts-5.10.3\\\\bin\" | out-file $ini -encoding default -append
|
||||
'Progname=erl' | out-file $ini -encoding default -append
|
||||
\"Rootdir=$escdir\" | out-file $ini -encoding default -append
|
||||
|
||||
ls -dir \"$dir\" | ? name -match '-(\\d+\\.)+\\d+$' | cp -r -force -dest \"$dir.\\lib\"
|
||||
ls -dir \"$dir\" | ? name -match '-(\\d+\\.)+\\d+$' | rm -r
|
||||
|
||||
$null = mkdir \"$dir\\releases\"
|
||||
|
||||
$null = mkdir \"$dir\\erts-5.10.3\"
|
||||
cp -r \"$dir\\bin\" \"$dir\\erts-5.10.3\\bin\"
|
||||
mv \"$dir\\include\" \"$dir\\erts-5.10.3\\include\"
|
||||
mv \"$dir\\src\" \"$dir\\erts-5.10.3\\src\"
|
||||
|
||||
rm -r \"$dir\\`$PLUGINSDIR\"
|
||||
|
||||
$null = mkdir \"$dir\\erts-5.10.3\\lib\"
|
||||
mv \"$dir\\lib\\*.lib\" \"$dir\\erts-5.10.3\\lib\"
|
||||
mv \"$dir\\lib\\internal\" \"$dir\\erts-5.10.3\\lib\\internal\"
|
||||
|
||||
cp \"$dir\\R16B02\\*.boot\" \"$dir\\bin\"
|
||||
mv \"$dir\\R16B02\" \"$dir\\releases\\R16B02\"
|
||||
"
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user