2013-02-16 16:08:04 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Agedu < Formula
|
|
|
|
homepage 'http://www.chiark.greenend.org.uk/~sgtatham/agedu/'
|
2014-02-02 21:23:13 +00:00
|
|
|
url 'http://www.chiark.greenend.org.uk/~sgtatham/agedu/agedu-r10126.tar.gz'
|
|
|
|
version 'r10126'
|
2014-02-11 08:34:02 +00:00
|
|
|
sha1 '4438ae698b626cba5ce061ed3ae5eefa5bfb1c50'
|
2013-02-16 16:08:04 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
|
|
|
system "#{bin}/agedu", "-s", "."
|
2013-06-09 02:26:17 +00:00
|
|
|
assert File.exist?("agedu.dat")
|
2013-02-16 16:08:04 +00:00
|
|
|
end
|
|
|
|
end
|