Commit 064cc83f authored by lyxell's avatar lyxell Committed by GitHub

Merge pull request #437 from cstrouse/add-unrar

Add unrar (5.4.5) package
parents 04b7e798 62911ee1
require 'package'
class Unrar < Package
version '5.4.5'
source_url 'http://www.rarlab.com/rar/unrarsrc-5.4.5.tar.gz'
source_sha1 '1590aec535792def68710dad7b73d5522e50c971'
def self.build
system "sed -i '145s,$,/libunrar.so,' makefile" # fix naming mistake
system "sed -i '145s,install,install -D,' makefile" # create directory
system "make", "all"
system "make", "lib"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install-lib"
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