Commit e66947f7 authored by Damian Montero's avatar Damian Montero Committed by GitHub

Merge pull request #731 from uberhacker/add-bcif-package

Add bcif package
parents 0fb979a9 fda25ebf
require 'package'
class Bcif < Package
description 'The BCIF compression algorithm is an open source method for lossless image compression.'
homepage 'http://www.researchandtechnology.net/bcif/index.php'
version '1.0-beta'
source_url 'http://www.researchandtechnology.net/bcif/downloads/bcif_sources_1_0_beta.zip'
source_sha1 '330c81ce5e7c471a629d59e22dae0c59a536b1c4'
depends_on 'unzip'
def self.build
FileUtils.cd('Cpp') do
system "bash make.sh"
end
end
def self.install
FileUtils.cd('Cpp') do
system "mkdir -p #{CREW_DEST_DIR}/usr/local/bin"
system "cp bcif #{CREW_DEST_DIR}/usr/local/bin"
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