mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-10 07:57:59 -05:00
Add sluice (0.02.06) package
Sluice is a program that reads input on stdin and outputs on stdout at a specified data rate. Tested as working properly on Samsung XE50013-K01US.
This commit is contained in:
16
packages/sluice.rb
Normal file
16
packages/sluice.rb
Normal file
@@ -0,0 +1,16 @@
|
||||
require 'package'
|
||||
|
||||
class Sluice < Package
|
||||
version '0.02.06'
|
||||
source_url 'http://kernel.ubuntu.com/~cking/tarballs/sluice/sluice-0.02.06.tar.gz'
|
||||
source_sha1 'c1afc98790147c2c48bc5675de8352812b4f1fea'
|
||||
|
||||
def self.build
|
||||
system "sed -i 's,/usr,/usr/local,g' Makefile"
|
||||
system "make"
|
||||
end
|
||||
|
||||
def self.install
|
||||
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user