Skip to content

Commit

Permalink
Add fakeroot_ng package (#2812)
Browse files Browse the repository at this point in the history
  • Loading branch information
JL2210 authored and uberhacker committed Oct 28, 2018
1 parent 1380c89 commit 22c8919
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions packages/fakeroot_ng.rb
@@ -0,0 +1,29 @@
require 'package'

class Fakeroot_ng < Package
description 'Fakeroot-ng is a clean re-implementation of fakeroot.'
homepage 'https://fakeroot-ng.lingnu.com/index.php/Home_Page'
version '0.18'
source_url 'https://sourceforge.net/projects/fakerootng/files/fakeroot-ng/fakeroot-ng-0.18.tar.gz'
source_sha256 '189eacda630752980d40e34b2c01ce23d839daab3d691a4706bb9eac79f7e144'

binary_url ({
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/fakeroot_ng-0.18-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
x86_64: '8193a2fd03ed29a7944c3b186f616d9ceb1b25b0327c48ec4f59913d9e7bbc49',
})

def self.build
system "./configure", "--prefix=#{CREW_PREFIX}", "--libdir=#{CREW_LIB_PREFIX}"
system 'make'
end

def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end

def self.check
system 'make', 'check'
end
end

0 comments on commit 22c8919

Please sign in to comment.