parent
48a74520ba
commit
01e37b431d
|
@ -15,14 +15,23 @@ class Libsecret < Formula
|
||||||
depends_on "gnu-sed" => :build
|
depends_on "gnu-sed" => :build
|
||||||
depends_on "intltool" => :build
|
depends_on "intltool" => :build
|
||||||
depends_on "gettext" => :build
|
depends_on "gettext" => :build
|
||||||
|
depends_on "vala" => :optional
|
||||||
|
depends_on "gobject-introspection" => :recommended
|
||||||
depends_on "glib"
|
depends_on "glib"
|
||||||
depends_on "libgcrypt"
|
depends_on "libgcrypt"
|
||||||
|
|
||||||
def install
|
def install
|
||||||
system "./configure", "--disable-debug",
|
args = %W[
|
||||||
"--disable-dependency-tracking",
|
--disable-debug
|
||||||
"--disable-silent-rules",
|
--disable-dependency-tracking
|
||||||
"--prefix=#{prefix}"
|
--disable-silent-rules
|
||||||
|
--prefix=#{prefix}
|
||||||
|
]
|
||||||
|
|
||||||
|
args << "--enable-gobject-introspection" if build.with? "gobject-introspection"
|
||||||
|
args << "--enable-vala" if build.with? "vala"
|
||||||
|
|
||||||
|
system "./configure", *args
|
||||||
|
|
||||||
# https://bugzilla.gnome.org/show_bug.cgi?id=734630
|
# https://bugzilla.gnome.org/show_bug.cgi?id=734630
|
||||||
inreplace "Makefile", "sed", "gsed"
|
inreplace "Makefile", "sed", "gsed"
|
||||||
|
|
Loading…
Reference in New Issue