-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathlibgnome.rb
43 lines (35 loc) · 1.08 KB
/
libgnome.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
33
34
35
36
37
38
39
40
41
42
43
require 'formula'
class Libgnome < Formula
homepage ''
url 'http://ftp.gnome.org/pub/GNOME/sources/libgnome/2.32/libgnome-2.32.1.tar.gz'
sha256 'b9ef58e22708e5ada10757fdb384161b750555d65936103e3191511967d79c17'
def patches
#From https://trac.macports.org/browser/trunk/dports/gnome/gnome-vfs/files/enable-deprecated.diff
DATA
end
depends_on 'intltool' => :build
depends_on 'pkg-config' => :build
depends_on 'glib'
depends_on 'gconf'
depends_on 'gnome-vfs'
depends_on 'libbonobo'
depends_on 'libcanberra'
def install
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
"--disable-silent-rules",
"--prefix=#{prefix}"
system "make", "install"
end
end
__END__
--- a/libgnome/Makefile.in
+++ b/libgnome/Makefile.in
@@ -311,7 +311,6 @@
-I$(srcdir)/.. \
$(WARN_CFLAGS) \
$(LIBGNOME_CFLAGS) \
- -DG_DISABLE_DEPRECATED \
-DLIBGNOME_PREFIX=\""$(prefix)"\" \
-DLIBGNOME_LIBDIR=\""$(libdir)"\" \
-DLIBGNOME_DATADIR=\""$(datadir)"\" \