Files
chromebrew/packages/patchutils.rb
James Larrowe dc96990fd1 Unhardcode paths (#2782)
* Unhardcode paths

(fixed since last time)

* Misc. fixes

* More little fixes.

* Quoting fixes

* Fix quoting

* Unhardcode paths

Libcap fix

* Last little fixes
2018-10-26 13:38:09 -05:00

36 lines
1.3 KiB
Ruby

require 'package'
class Patchutils < Package
description 'Patchutils is a small collection of programs that operate on patch files.'
homepage 'http://cyberelk.net/tim/patchutils/'
version '0.3.4'
source_url 'http://cyberelk.net/tim/data/patchutils/stable/patchutils-0.3.4.tar.xz'
source_sha256 'cf55d4db83ead41188f5b6be16f60f6b76a87d5db1c42f5459d596e81dabe876'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/patchutils-0.3.4-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/patchutils-0.3.4-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/patchutils-0.3.4-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/patchutils-0.3.4-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: 'a016f2bf4f5cd6711295f46e30563dcbd910b714be964b61f00cb68ef97d0f2c',
armv7l: 'a016f2bf4f5cd6711295f46e30563dcbd910b714be964b61f00cb68ef97d0f2c',
i686: '3bbc58f6e110e6d7437c0fd7acaf2bd49b7afb51609d577483df3efddbc8e034',
x86_64: '47995cc77fbf3bf7dbea906fc2bb7ffd28be265fdf64f970e00cfa85edc55ace',
})
def self.build
system "./configure --prefix=#{CREW_PREFIX}"
system 'make'
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
def self.check
system "make", "check"
end
end