Change pacparser.rb to install files through CREW_DEST_DIR.

Also Add -j1 flag to make to avoid race condition.
parent e88622d4
......@@ -3,15 +3,15 @@ require 'package'
class Pacparser < Package
description 'pacparser is a library to parse proxy auto-config (PAC) files.'
homepage 'http://pacparser.manugarg.com/'
version '1.3.7'
version '1.3.7-1'
source_url 'https://github.com/pacparser/pacparser/archive/1.3.7.tar.gz'
source_sha256 '575c5d8096b4c842b2af852bbb8bcfde96170b28b49f33249dbe2057a8beea13'
def self.build
system "make -C src"
system "make -j1 -C src"
end
def self.install
system "PREFIX=/usr/local make -C src install"
system "DESTDIR=#{CREW_DEST_DIR} PREFIX=/usr/local make -C src install"
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