Commit ffda973f authored by Jan Baudisch's avatar Jan Baudisch Committed by Kazushi (Jam) Marukawa

Add libBSD

parent 6000c05d
require 'package'
class Libbsd < Package
description 'This library provides useful functions commonly found on BSD systems, and lacking on others like GNU systems, thus making it easier to port projects with strong BSD origins, without needing to embed the same code over and over again on each project.'
homepage 'https://libbsd.freedesktop.org/wiki'
version '0.8.6'
source_url 'https://libbsd.freedesktop.org/releases/libbsd-0.8.6.tar.xz'
source_sha256 '467fbf9df1f49af11f7f686691057c8c0a7613ae5a870577bef9155de39f9687'
def self.build
system "./configure"
system "make"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment