Commit 50a7861e authored by Ed Reel's avatar Ed Reel Committed by GitHub

Merge pull request #1269 from cstrouse/update-elixir

Update elixir from 1.5.1 to 1.5.2
parents 19983ce6 ff923f2b
...@@ -3,35 +3,28 @@ require 'package' ...@@ -3,35 +3,28 @@ require 'package'
class Elixir < Package class Elixir < Package
description 'Elixir is a dynamic, functional language designed for building scalable and maintainable applications.' description 'Elixir is a dynamic, functional language designed for building scalable and maintainable applications.'
homepage 'http://elixir-lang.org/' homepage 'http://elixir-lang.org/'
version '1.5.1' version '1.5.2'
source_url 'https://github.com/elixir-lang/elixir/releases/download/v1.5.1/Precompiled.zip' source_url 'https://github.com/elixir-lang/elixir/releases/download/v1.5.2/Precompiled.zip'
source_sha256 '84af6eb4cb68d0f60b3edf4e275eb024f8eb8cccae91b18c2bbbc4b70a88934f' source_sha256 '4ba8dd46998bee6cbcc2d9937776e241be82bc62d2b62b6235c310a44c87467e'
binary_url ({ binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/elixir-1.5.1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/elixir-1.5.1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/elixir-1.5.1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/elixir-1.5.1-chromeos-x86_64.tar.xz',
}) })
binary_sha256 ({ binary_sha256 ({
aarch64: '54a5afb5f1a6ac89dde31da18c8d8c0982de24a8f6235fb6dc680bf4faeb1962',
armv7l: '54a5afb5f1a6ac89dde31da18c8d8c0982de24a8f6235fb6dc680bf4faeb1962',
i686: 'a9e86ddd0120238198f7aea64b148818034b7d9a75b7f56f8c1b79c67bae5098',
x86_64: '01a4e221a51f9c73ab55906c1d1b9676435a551743482c72c16200ad62c4648e',
}) })
depends_on 'erlang' depends_on 'erlang'
depends_on 'unzip' depends_on 'unzip' => :build
def self.build def self.build
# do noting # do noting
end end
def self.install def self.install
system "mkdir -p #{CREW_DEST_DIR}#{CREW_PREFIX}" system "mkdir -p #{CREW_DEST_PREFIX}"
system "mkdir -p #{CREW_DEST_DIR}#{CREW_PREFIX}/share" system "mkdir -p #{CREW_DEST_PREFIX}/share"
system "mv bin #{CREW_DEST_DIR}#{CREW_PREFIX}" system "mkdir -p #{CREW_DEST_LIB_PREFIX}"
system "mv lib #{CREW_DEST_DIR}#{CREW_PREFIX}" system "mv bin #{CREW_DEST_PREFIX}"
system "mv man #{CREW_DEST_DIR}#{CREW_PREFIX}/share" system "mv lib #{CREW_DEST_LIB_PREFIX}"
system "mv man #{CREW_DEST_PREFIX}/share"
end end
end end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment