mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-09 15:37:56 -05:00
23 lines
646 B
Ruby
23 lines
646 B
Ruby
require 'package'
|
|
|
|
class Libpipeline < Package
|
|
description 'libpipeline is a C library for manipulating pipelines of subprocesses in a flexible and convenient way.'
|
|
homepage 'http://libpipeline.nongnu.org/'
|
|
version '1.4.1-2'
|
|
source_url 'https://download.savannah.gnu.org/releases/libpipeline/libpipeline-1.4.1.tar.gz'
|
|
source_sha1 'b31cc955f22b1aa4545dc8d00ddbde831936594f'
|
|
|
|
def self.build
|
|
system './configure', '--disable-static', '--enable-shared', '--with-pic'
|
|
system 'make'
|
|
end
|
|
|
|
def self.install
|
|
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
|
|
end
|
|
|
|
def self.check
|
|
system "make", "check"
|
|
end
|
|
end
|