2010-08-30 21:03:03 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Ddate < Formula
|
2010-08-30 21:03:03 +00:00
|
|
|
url 'www.discordia.ch/Programs/ddate.c'
|
2011-03-16 04:41:40 +00:00
|
|
|
homepage 'http://www.discordia.ch/Programs/'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 '41eafa66d577082b95e40a8f40ac054aa8ea45dc'
|
2010-08-30 21:03:03 +00:00
|
|
|
version '0.1.0'
|
|
|
|
|
|
|
|
def install
|
2010-10-22 14:16:35 +00:00
|
|
|
system ENV.cc, "ddate.c", "-o", "ddate"
|
2010-08-30 21:03:03 +00:00
|
|
|
bin.install 'ddate'
|
|
|
|
end
|
|
|
|
end
|