diff options
| author | Baptiste Fontaine | 2015-04-12 10:07:26 +0200 |
|---|---|---|
| committer | Xu Cheng | 2015-04-12 21:13:36 +0800 |
| commit | c012721dad8650274dc5edb56eb27219a2dbb8cf (patch) | |
| tree | b2f0507a0f4b704e28d1dedd57c56b9dc4894f96 /Library | |
| parent | 7f7b68b70863ae03603fe07f402be625932dc934 (diff) | |
| download | homebrew-c012721dad8650274dc5edb56eb27219a2dbb8cf.tar.bz2 | |
pdfjam: basic test added
Closes #38580.
Signed-off-by: Xu Cheng <xucheng@me.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/pdfjam.rb | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/Library/Formula/pdfjam.rb b/Library/Formula/pdfjam.rb index 6b7225448..fc871aa3f 100644 --- a/Library/Formula/pdfjam.rb +++ b/Library/Formula/pdfjam.rb @@ -1,15 +1,17 @@ -require 'formula' - class Pdfjam < Formula - homepage 'http://www2.warwick.ac.uk/fac/sci/statistics/staff/academic-research/firth/software/pdfjam' - url 'http://www2.warwick.ac.uk/fac/sci/statistics/staff/academic-research/firth/software/pdfjam/pdfjam_208.tgz' - sha1 '981b504ef96369a203f85fefb42d4ea0d1194493' - version '2.08' + homepage "https://www2.warwick.ac.uk/fac/sci/statistics/staff/academic-research/firth/software/pdfjam" + url "https://www2.warwick.ac.uk/fac/sci/statistics/staff/academic-research/firth/software/pdfjam/pdfjam_208.tgz" + sha256 "c731c598cfad076c985526ff89cbf34423a216101aa5e2d753a71de119ecc0f3" + version "2.08" depends_on :tex def install - bin.install Dir['bin/*'] - man.install 'man1' + bin.install Dir["bin/*"] + man.install "man1" + end + + test do + system "#{bin}/pdfjam", "-h" end end |
