Commit a67b4c6a authored by Ed Reel's avatar Ed Reel Committed by Kazushi (Jam) Marukawa

Add gox package

parent 39068e85
require 'package'
class Gox < Package
description 'A dead simple, no frills Go cross compile tool.'
homepage 'https://github.com/mitchellh/gox'
version '0.3.0'
source_url 'https://github.com/mitchellh/gox/archive/v0.3.0.tar.gz'
source_sha256 '29dc6b689f670a5444cc54cd9111549ccb01501901bc9197d0e1325a35157802'
depends_on 'go'
def self.install
system "mkdir -p #{CREW_DEST_DIR}/usr/local/bin"
system "go build -ldflags \"-X main.VERSION=v0.3.0\" -o #{CREW_DEST_DIR}/usr/local/bin/gox"
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