Files
chromebrew/packages/libcap_ng.rb
2017-09-20 15:05:18 +02:00

21 lines
630 B
Ruby

require 'package'
class Libcap_ng < Package
description 'The libcap-ng library is intended to make programming with posix capabilities much easier than the traditional libcap library.'
homepage 'https://people.redhat.com/sgrubb/libcap-ng'
version '0.7.8'
source_url 'https://people.redhat.com/sgrubb/libcap-ng/libcap-ng-0.7.8.tar.gz'
source_sha256 'c21af997445cd4107a55d386f955c5ea6f6e96ead693e9151277c0ab5f97d05f'
depends_on 'python3'
def self.build
system "./configure --prefix=#{CREW_PREFIX}"
system "make"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end