opensc 0.16.0-pre1 (devel)
- add :devel - fix checksum mismatch for :stable - add test-do block Closes Homebrew/homebrew#50129 Closes Homebrew/homebrew#50129. Signed-off-by: Andrew Janke <andrew@apjanke.net>
This commit is contained in:
parent
8040fa921b
commit
b60bf5f4f5
1 changed files with 12 additions and 2 deletions
|
@ -4,8 +4,8 @@ class Opensc < Formula
|
|||
head "https://github.com/OpenSC/OpenSC.git"
|
||||
|
||||
stable do
|
||||
url "https://downloads.sourceforge.net/project/opensc/OpenSC/opensc-0.15.0/opensc-0.15.0.tar.gz"
|
||||
sha256 "399b2107a69e3f67e4e76dc2dbd951dbced8e534b1e0f919e176aea9b85970d7"
|
||||
url "https://github.com/OpenSC/OpenSC/archive/0.15.0.tar.gz"
|
||||
sha256 "8f8f8cf52e0252334e4dfdccca829b876a3de6340deb772aa0bfe0c0cc10eaf5"
|
||||
|
||||
patch :p1 do
|
||||
url "https://github.com/carlhoerberg/OpenSC/commit/e5ae77cae32fdcc7a23d6bd0013c2fd115a43591.diff"
|
||||
|
@ -20,6 +20,12 @@ class Opensc < Formula
|
|||
sha256 "08501fbffbb7f534ac5319104f7eb05243209897c6b958b10fc62024cf4a0f50" => :mavericks
|
||||
end
|
||||
|
||||
devel do
|
||||
url "https://github.com/OpenSC/OpenSC/archive/v0.16.0-pre1.tar.gz"
|
||||
sha256 "097132ce24d8c19f9ef79b46fde558698ed1dc1bd616d8ad275e32eaf79e5ba6"
|
||||
version "0.16.0-pre1"
|
||||
end
|
||||
|
||||
option "without-man-pages", "Skip building manual pages"
|
||||
|
||||
depends_on "autoconf" => :build
|
||||
|
@ -46,4 +52,8 @@ class Opensc < Formula
|
|||
system "./configure", *args
|
||||
system "make", "install"
|
||||
end
|
||||
|
||||
test do
|
||||
assert_match "0.15.0", shell_output("opensc-tool -i")
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue