2013-02-16 16:08:04 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Agedu < Formula
|
|
|
|
homepage 'http://www.chiark.greenend.org.uk/~sgtatham/agedu/'
|
|
|
|
url 'http://www.chiark.greenend.org.uk/~sgtatham/agedu/agedu-r9723.tar.gz'
|
|
|
|
version 'r9723'
|
2013-09-27 18:34:45 +00:00
|
|
|
sha1 '3b6a7c73a033c86a142f6d2bfa9d5d481d96adc5'
|
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
|