brew package

This commit is contained in:
Paul Rouget 2016-08-02 04:23:11 +02:00
parent fab2ab8b9e
commit 79812971f1
5 changed files with 145 additions and 23 deletions

View file

@ -0,0 +1,21 @@
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
class ServoBin < Formula
desc "Servo, the Parallel Browser Engine Project (binary version)"
homepage "http://servo.org"
url "PACKAGEURL"
version "VERSION"
sha256 "SHA"
bottle :unneeded
def install
prefix.install "bin", "libexec", "resources"
end
test do
system bin/"servo", "-o", "/dev/null", "-x", "http://example.com"
end
end