Skip to content

Commit

Permalink
aalib: add test and modernize
Browse files Browse the repository at this point in the history
  • Loading branch information
xu-cheng committed Jul 19, 2015
1 parent 41877d0 commit 5c15da2
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions Formula/aalib.rb
@@ -1,10 +1,8 @@
require 'formula'

class Aalib < Formula
desc "Portable ASCII art graphics library"
homepage 'http://aa-project.sourceforge.net/aalib/'
url 'https://downloads.sourceforge.net/aa-project/aalib-1.4rc5.tar.gz'
sha1 'a23269e950a249d2ef93625837cace45ddbce03b'
homepage "http://aa-project.sourceforge.net/aalib/"
url "https://downloads.sourceforge.net/aa-project/aalib-1.4rc5.tar.gz"
sha256 "fbddda9230cf6ee2a4f5706b4b11e2190ae45f5eda1f0409dc4f99b35e0a70ee"

bottle do
cellar :any
Expand All @@ -28,7 +26,11 @@ def install
"--enable-shared=yes",
"--enable-static=yes",
"--without-x"
system "make install"
system "make", "install"
end

test do
system bin/"aainfo"
end
end

Expand Down

0 comments on commit 5c15da2

Please sign in to comment.