Fix the CREW_DEST_DIR usage.

parent 3c1be35c
require 'package' require 'package'
class Patchelf < Package class Patchelf < Package
version '0.8' version '0.8-1'
source_url 'http://nixos.org/releases/patchelf/patchelf-0.8/patchelf-0.8.tar.bz2' source_url 'http://nixos.org/releases/patchelf/patchelf-0.8/patchelf-0.8.tar.bz2'
source_sha1 'd0645e9cee6f8e583ae927311c7ce88d29f416fc' source_sha1 'd0645e9cee6f8e583ae927311c7ce88d29f416fc'
...@@ -11,6 +11,6 @@ class Patchelf < Package ...@@ -11,6 +11,6 @@ class Patchelf < Package
end end
def self.install def self.install
system "make", "PREFIX=#{CREW_DEST_DIR}/usr/local", "install" system "make", "DESTDIR=#{CREW_DEST_DIR}/usr/local", "install"
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