Gentoo Archives: gentoo-commits

From: "Peter Alfredsen (loki_val)" <loki_val@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in eclass: gtk-sharp-module.eclass
Date: Wed, 26 Nov 2008 10:03:44
Message-Id: E1L5HFH-0007m6-1G@stork.gentoo.org
1 loki_val 08/11/26 10:03:43
2
3 Modified: gtk-sharp-module.eclass
4 Log:
5 Add quotes
6
7 Revision Changes Path
8 1.3 eclass/gtk-sharp-module.eclass
9
10 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/gtk-sharp-module.eclass?rev=1.3&view=markup
11 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/gtk-sharp-module.eclass?rev=1.3&content-type=text/plain
12 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/gtk-sharp-module.eclass?r1=1.2&r2=1.3
13
14 Index: gtk-sharp-module.eclass
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo-x86/eclass/gtk-sharp-module.eclass,v
17 retrieving revision 1.2
18 retrieving revision 1.3
19 diff -u -r1.2 -r1.3
20 --- gtk-sharp-module.eclass 26 Nov 2008 00:54:41 -0000 1.2
21 +++ gtk-sharp-module.eclass 26 Nov 2008 10:03:42 -0000 1.3
22 @@ -1,6 +1,6 @@
23 # Copyright 1999-2008 Gentoo Foundation
24 # Distributed under the terms of the GNU General Public License v2
25 -# $Header: /var/cvsroot/gentoo-x86/eclass/gtk-sharp-module.eclass,v 1.2 2008/11/26 00:54:41 loki_val Exp $
26 +# $Header: /var/cvsroot/gentoo-x86/eclass/gtk-sharp-module.eclass,v 1.3 2008/11/26 10:03:42 loki_val Exp $
27
28 # Author : Peter Johanson <latexer@g.o>, butchered by ikelos, then loki_val.
29 # Based off of original work in gst-plugins.eclass by <foser@g.o>
30 @@ -123,21 +123,21 @@
31 # Fixes support with pkgconfig-0.17, #92503.
32 sed -i -e 's/\<PKG_PATH\>/GTK_SHARP_PKG_PATH/g' \
33 -e ':^CFLAGS=:d' \
34 - ${S}/configure.in
35 + "${S}"/configure.in
36
37 # Fix install data hook, #161093.
38 if [ -f "${S}/sample/gconf/Makefile.am" ]
39 then
40 sed -i -e 's/^install-hook/install-data-hook/' \
41 - ${S}/sample/gconf/Makefile.am || die
42 + "${S}"/sample/gconf/Makefile.am || die
43 fi
44
45 # Disable building samples, #16015.
46 - sed -i -e "s:sample::" ${S}/Makefile.am || die
47 + sed -i -e "s:sample::" "${S}"/Makefile.am || die
48
49 eautoreconf
50
51 - cd ${S}/${GTK_SHARP_MODULE_DIR}
52 + cd "${S}"/${GTK_SHARP_MODULE_DIR}
53
54 gtk-sharp-module_fix_files
55 }
56 @@ -161,20 +161,20 @@
57 gtk_sharp_conf="${gtk_sharp_conf} --enable-${module} "
58 done
59
60 - cd ${S}
61 + cd "${S}"
62 econf ${@} ${gtk_sharp_conf} || die "econf failed"
63 }
64
65 gtk-sharp-module_src_compile() {
66
67 - cd ${S}/${GTK_SHARP_MODULE_DIR}
68 + cd "${S}"/${GTK_SHARP_MODULE_DIR}
69 LANG=C emake -j1 || die "emake failed"
70 }
71
72 gtk-sharp-module_src_install() {
73 cd ${GTK_SHARP_MODULE_DIR}
74 LANG=C emake GACUTIL_FLAGS="/root ${D}/usr/$(get_libdir) /gacdir /usr/$(get_libdir) /package gtk-sharp${GTK_SHARP_SLOT_DEC}" \
75 - DESTDIR=${D} install || die "emake install failed"
76 + DESTDIR="${D}" install || die "emake install failed"
77 }
78
79 EXPORT_FUNCTIONS src_prepare src_configure src_compile src_install