blob: 1d1976ee3b3f95e5e4a534dc85a8faf2a364b6eb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
require 'formula'
class Libp11 < Formula
homepage 'https://github.com/OpenSC/libp11/wiki'
url 'https://downloads.sourceforge.net/project/opensc/libp11/libp11-0.2.8.tar.gz'
sha1 '2d1f6dc4200038f55a0cb7e22858f93e484b0724'
head do
url 'https://github.com/OpenSC/libp11.git'
depends_on :autoconf
depends_on :automake
end
depends_on 'pkg-config' => :build
depends_on :libtool => :run
def install
system "./bootstrap" if build.head?
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
end
|