New formula: liblockfile

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
Sascha Kratky 2010-09-22 20:35:33 +02:00 committed by Mike McQuaid
parent ef2e249c56
commit 024410df8d

23
Formula/liblockfile.rb Normal file
View file

@ -0,0 +1,23 @@
require 'formula'
class Liblockfile <Formula
url 'http://ftp.debian.org/debian/pool/main/libl/liblockfile/liblockfile_1.08.orig.tar.gz'
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