Commit 82f47ab5 authored by Casey Strouse's avatar Casey Strouse

Update unrar from 5.5.7 to 5.5.8

This is a bugfix and maintenance release.

The makefile from the project uses a hardcoded library path and was failing to
install the library. Changed to a manual copy operation using the library prefix
constant.

Tested on XE500C13-K01US.
parent c475cb65
...@@ -3,9 +3,9 @@ require 'package' ...@@ -3,9 +3,9 @@ require 'package'
class Unrar < Package class Unrar < Package
description 'UnRAR is a powerful archive extractor.' description 'UnRAR is a powerful archive extractor.'
homepage 'http://www.rarlab.com/' homepage 'http://www.rarlab.com/'
version '5.5.7' version '5.5.8'
source_url 'http://www.rarlab.com/rar/unrarsrc-5.5.7.tar.gz' source_url 'http://www.rarlab.com/rar/unrarsrc-5.5.8.tar.gz'
source_sha256 '8aef0a0d91bf9c9ac48fab8a26049ac7ac49907e75a2dcbd511a4ba375322d8f' source_sha256 '9b66e4353a9944bc140eb2a919ff99482dd548f858f5e296d809e8f7cdb2fcf4'
def self.build def self.build
# force to compile in sequential since unrar Makefile doesn't work in parallel # force to compile in sequential since unrar Makefile doesn't work in parallel
...@@ -14,7 +14,8 @@ class Unrar < Package ...@@ -14,7 +14,8 @@ class Unrar < Package
end end
def self.install def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}/usr/local", "install" system "make", "DESTDIR=#{CREW_DEST_PREFIX}", "install"
system "make", "DESTDIR=#{CREW_DEST_DIR}/usr/local", "install-lib" system "mkdir -p #{CREW_DEST_LIB_PREFIX}"
system "cp libunrar.so #{CREW_DEST_LIB_PREFIX}/libunrar.so"
end 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