From c012721dad8650274dc5edb56eb27219a2dbb8cf Mon Sep 17 00:00:00 2001 From: Baptiste Fontaine Date: Sun, 12 Apr 2015 10:07:26 +0200 Subject: pdfjam: basic test added Closes #38580. Signed-off-by: Xu Cheng --- Library/Formula/pdfjam.rb | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'Library/Formula') 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 -- cgit v1.2.3