2010-09-22 18:35:33 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Liblockfile < Formula
|
2010-09-30 17:35:08 +00:00
|
|
|
url 'http://mirrors.kernel.org/debian/pool/main/libl/liblockfile/liblockfile_1.08.orig.tar.gz'
|
2010-09-22 18:35:33 +00:00
|
|
|
homepage 'http://packages.qa.debian.org/libl/liblockfile.html'
|
|
|
|
md5 'c24e2dfb4a2aab0263fe5ac1564d305e'
|
|
|
|
|
|
|
|
def install
|
|
|
|
system "./configure", "--disable-dependency-tracking",
|
|
|
|
"--disable-debug",
|
|
|
|
"--with-mailgroup=staff",
|
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--sysconfdir=#{etc}",
|
|
|
|
"--mandir=#{man}"
|
|
|
|
bin.mkpath
|
|
|
|
lib.mkpath
|
|
|
|
include.mkpath
|
|
|
|
man1.mkpath
|
|
|
|
man3.mkpath
|
|
|
|
system "make"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|