-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathgnome-keyring.rb
32 lines (29 loc) · 959 Bytes
/
gnome-keyring.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
require 'formula'
class GnomeKeyring < Formula
homepage 'http://live.gnome.org/GnomeKeyring'
url 'http://ftp.acc.umu.se/pub/gnome/sources/gnome-keyring/2.28/gnome-keyring-2.28.2.tar.bz2'
sha256 'd2d686fb2528ee045bbcd9f18d0d452e0eb88c2265a1947f639152b61a5987f6'
# NOTE
# 1) 3.X versions of gnome-keyring require GTK+ 3 series
#
# 2) gnome-keyring 2.28.2 was last version packaged with
# library/gnome-keyring.h
# library/gnome-keyring-1.pc.in
#
depends_on 'pkg-config' => :build
depends_on 'gettext'
depends_on 'intltool'
depends_on 'd-bus'
depends_on 'glib'
depends_on 'libgcrypt'
depends_on 'libtasn'
depends_on 'gtk+'
depends_on 'gconf'
def install
ENV.append 'LDFLAGS', '-lgmodule-2.0'
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--without-root-certs"
system "make install"
end
end