diff options
| author | Baptiste Fontaine | 2015-04-11 12:09:19 +0200 |
|---|---|---|
| committer | Xu Cheng | 2015-04-12 02:09:17 +0800 |
| commit | df765a4205b9f0e87b27b83ac23776357e13a7db (patch) | |
| tree | 3067867d5aa6a6cd56447873d25924309571f62b /Library | |
| parent | c896879840663fabfa245eb9e82742fa67c0f35b (diff) | |
| download | homebrew-df765a4205b9f0e87b27b83ac23776357e13a7db.tar.bz2 | |
shmux: basic test added
Closes #38545.
Signed-off-by: Xu Cheng <xucheng@me.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/shmux.rb | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/Library/Formula/shmux.rb b/Library/Formula/shmux.rb index 4f7b3880c..0525a3d4e 100644 --- a/Library/Formula/shmux.rb +++ b/Library/Formula/shmux.rb @@ -1,13 +1,14 @@ -require 'formula' - class Shmux < Formula - homepage 'http://web.taranis.org/shmux/' - url 'http://web.taranis.org/shmux/dist/shmux-1.0.2.tgz' - sha1 '6fe39602c497331e448c4331b8cddbb2abb71b79' - + homepage "http://web.taranis.org/shmux/" + url "http://web.taranis.org/shmux/dist/shmux-1.0.2.tgz" + sha256 "0886aaca4936926d526988d85df403fa1679a60c355f1be8432bb4bc1e36580f" def install system "./configure", "--prefix=#{prefix}" - system "make install" + system "make", "install" + end + + test do + system "#{bin}/shmux", "-h" end end |
