blob: 3ab9c520ff703eb61035f1e609d577f1f6202d37 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
require 'formula'
class Agedu < Formula
homepage 'http://www.chiark.greenend.org.uk/~sgtatham/agedu/'
url 'http://www.chiark.greenend.org.uk/~sgtatham/agedu/agedu-r10126.tar.gz'
version 'r10126'
sha1 '4438ae698b626cba5ce061ed3ae5eefa5bfb1c50'
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
test do
system "#{bin}/agedu", "-s", "."
assert File.exist?("agedu.dat")
end
end
|