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:
Casey Strouse
2017-01-21 14:41:11 -07:00
parent 00023b89ac
commit c33d74858f

16
packages/sluice.rb Normal file
View 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