aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMisty De Meo2011-09-01 21:24:22 -0500
committerAdam Vandenberg2011-09-02 19:24:17 -0700
commitb7191753ce7f34be9df343c1eb53a014355cbb47 (patch)
tree462e4d9d9ac768bc57fda55206aaa881a5f6f512 /Library
parentcec3f615bea979566a74d394c0e9f3959a432cdf (diff)
downloadhomebrew-b7191753ce7f34be9df343c1eb53a014355cbb47.tar.bz2
SC68 2.2.1
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/sc68.rb20
1 files changed, 20 insertions, 0 deletions
diff --git a/Library/Formula/sc68.rb b/Library/Formula/sc68.rb
new file mode 100644
index 000000000..8bd2097d2
--- /dev/null
+++ b/Library/Formula/sc68.rb
@@ -0,0 +1,20 @@
+require 'formula'
+
+class Sc68 < Formula
+ url 'http://downloads.sourceforge.net/project/sc68/sc68/2.2.1/sc68-2.2.1.tar.gz'
+ homepage 'http://sc68.atari.org/project.html'
+ md5 '84aa948f76274361f7e78c3563951eff'
+
+ def install
+ system "./configure", "--disable-debug", "--disable-dependency-tracking",
+ "--prefix=#{prefix}",
+ "--mandir=#{man}",
+ "--infodir=#{info}"
+ system "make install"
+ end
+
+ def test
+ # SC68 ships with a sample module; test attempts to print its metadata
+ system "#{bin}/info68 #{share}/sc68/Sample/About-Intro.sc68 -C ': ' -N -L"
+ end
+end