Commit 61f9977c authored by Chris Thurber's avatar Chris Thurber Committed by GitHub

Merge pull request #2119 from uberhacker/add-phive-package

Add phive package
parents 7923a0e6 72f9f1b3
require 'package'
class Phive < Package
description 'The PHAR Installation and Verification Environment (PHIVE)'
homepage 'https://phar.io/'
version '0.9.0'
source_url 'https://github.com/phar-io/phive/archive/0.9.0.tar.gz'
source_sha256 '711659b2293015c1bc81755bb56746fc86f1c6c6c3b87eaaddaa56d29c86c0ad'
binary_url ({
})
binary_sha256 ({
})
depends_on 'composer'
depends_on 'gnupg'
def self.install
system "composer install"
system "mkdir -p #{CREW_DEST_PREFIX}/bin"
system "mkdir -p #{CREW_DEST_PREFIX}/share/phive"
system "cp -r . #{CREW_DEST_PREFIX}/share/phive"
system "ln -s #{CREW_PREFIX}/share/phive/phive #{CREW_DEST_PREFIX}/bin/phive"
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