16 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
17 # If applicable, add the following below this CDDL HEADER, with the
18 # fields enclosed by brackets "[]" replaced with your own identifying
19 # information: Portions Copyright [yyyy] [name of copyright owner]
20 #
21 # CDDL HEADER END
22 #
23 #
24 # Copyright 2011-2012 OmniTI Computer Consulting, Inc. All rights reserved.
25 # Use is subject to license terms.
26 #
27 # Load support functions
28 . ../../lib/functions.sh
29
30 PROG=dbus-glib
31 VER=0.100
32 PKG=system/library/libdbus-glib
33 SUMMARY="$PROG - GNOME GLib DBUS integration library"
34 DESC="$SUMMARY"
35
36 DEPENDS_IPS="system/library/libdbus library/glib2 library/zlib system/library system/library/gcc-4-runtime"
37
38 CONFIGURE_OPTS="--disable-fam --disable-dtrace --disable-tests"
39 GLIB_GENMARSHAL=/usr/bin/glib-genmarshal
40 export GLIB_GENMARSHAL
41
42 save_function configure32 configure32_orig
43 save_function configure64 configure64_orig
44 configure32() {
45 DBUS_LIBS=-ldbus-1
46 export DBUS_LIBS
47 DBUS_CFLAGS="-I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include"
48 export DBUS_CFLAGS
49 DBUS_GLIB_CFLAGS="-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include"
50 export DBUS_GLIB_CFLAGS
51 DBUS_GLIB_LIBS="-lglib-2.0 -lgobject-2.0 -lgio-2.0"
52 export DBUS_GLIB_LIBS
53 configure32_orig
54 logcmd mv config.status config.status.old || logerr "status backup failed"
55 sed -e 's/S\["GLIB_GENMARSHAL"\]=""/S["GLIB_GENMARSHAL"]="glib-genmarshal"/' < config.status.old > config.status || logerr "sed failed"
56 logcmd chmod 755 config.status || logerr "chmod failed"
|
16 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
17 # If applicable, add the following below this CDDL HEADER, with the
18 # fields enclosed by brackets "[]" replaced with your own identifying
19 # information: Portions Copyright [yyyy] [name of copyright owner]
20 #
21 # CDDL HEADER END
22 #
23 #
24 # Copyright 2011-2012 OmniTI Computer Consulting, Inc. All rights reserved.
25 # Use is subject to license terms.
26 #
27 # Load support functions
28 . ../../lib/functions.sh
29
30 PROG=dbus-glib
31 VER=0.100
32 PKG=system/library/libdbus-glib
33 SUMMARY="$PROG - GNOME GLib DBUS integration library"
34 DESC="$SUMMARY"
35
36 DEPENDS_IPS="system/library/libdbus library/glib2 library/zlib system/library system/library/gcc-5-runtime"
37
38 CONFIGURE_OPTS="--disable-fam --disable-dtrace --disable-tests"
39 GLIB_GENMARSHAL=/usr/bin/glib-genmarshal
40 export GLIB_GENMARSHAL
41
42 save_function configure32 configure32_orig
43 save_function configure64 configure64_orig
44 configure32() {
45 DBUS_LIBS=-ldbus-1
46 export DBUS_LIBS
47 DBUS_CFLAGS="-I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include"
48 export DBUS_CFLAGS
49 DBUS_GLIB_CFLAGS="-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include"
50 export DBUS_GLIB_CFLAGS
51 DBUS_GLIB_LIBS="-lglib-2.0 -lgobject-2.0 -lgio-2.0"
52 export DBUS_GLIB_LIBS
53 configure32_orig
54 logcmd mv config.status config.status.old || logerr "status backup failed"
55 sed -e 's/S\["GLIB_GENMARSHAL"\]=""/S["GLIB_GENMARSHAL"]="glib-genmarshal"/' < config.status.old > config.status || logerr "sed failed"
56 logcmd chmod 755 config.status || logerr "chmod failed"
|