diff options
| author | Thomas Strathmann | 2012-05-08 09:59:58 +0200 |
|---|---|---|
| committer | Adam Vandenberg | 2013-01-03 11:14:41 -0800 |
| commit | c424af9507b1d4f567e7d7921f5050b99f7b0d4c (patch) | |
| tree | 024faafcf9c0c367ede914348924cd4af89e81f5 /Library/Formula | |
| parent | 2c5c4eeca754e505bfb76f2eb5e8f8a35c9dc28e (diff) | |
| download | homebrew-c424af9507b1d4f567e7d7921f5050b99f7b0d4c.tar.bz2 | |
petri net api 4.02
Closes #12140.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/pnapi.rb | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Library/Formula/pnapi.rb b/Library/Formula/pnapi.rb new file mode 100644 index 000000000..2477d2bf2 --- /dev/null +++ b/Library/Formula/pnapi.rb @@ -0,0 +1,20 @@ +require 'formula' + +class Pnapi < Formula + homepage 'http://service-technology.org/tools/petri_net_api' + url 'http://download.gna.org/service-tech/pnapi/pnapi-4.02.tar.gz' + sha1 'caa61aaa5886381e594f7eb57a75c1feb6960c3a' + + depends_on "graphviz" + + def install + system "./configure", "--prefix=#{prefix}" + system "make install" + # for some reason config.h is not installed by the Makefile + (include/'pnapi').install 'src/config.h' + end + + def test + system "#{bin}/petri", "--help" + end +end |
