4.11
Last change
on this file since 158ad68 was
158ad68,
checked in by Chris Johns <chrisj@…>, on 10/03/20 at 11:53:04
|
sb: Back port the RTEMS 5 and 6 RSB engine.
- Build GDb first as we do for RTEMS 5 and later
- Update GDB to 9.1 for all archs expect SPARC. The SIS patches
only apply to 7.9. Disable Python for SPARC
Closes #4111
|
-
Property mode set to
100644
|
File size:
1.6 KB
|
Line | |
---|
1 | # |
---|
2 | # GLib 2.x.x Version 1. |
---|
3 | # |
---|
4 | # This configuration file configure's, make's and install's GLib. |
---|
5 | # |
---|
6 | |
---|
7 | %if %{release} == %{nil} |
---|
8 | %define release 1 |
---|
9 | %endif |
---|
10 | |
---|
11 | Name: glib-%{glib_version}-%{_host}-%{release} |
---|
12 | Summary: GLib provides the core application building blocks for |
---|
13 | libraries and applications written in C. |
---|
14 | Version: %{glib_version} |
---|
15 | Release: %{release} |
---|
16 | URL: https://developer.gnome.org/glib/ |
---|
17 | |
---|
18 | # |
---|
19 | # Source |
---|
20 | # |
---|
21 | %source set glib http://ftp.gnome.org/pub/gnome/sources/glib/%{glib_version_major}/glib-%{glib_version}.tar.xz |
---|
22 | |
---|
23 | # |
---|
24 | # Prepare the source code. |
---|
25 | # |
---|
26 | %prep |
---|
27 | build_top=$(pwd) |
---|
28 | |
---|
29 | source_dir_glib="glib-%{glib_version}" |
---|
30 | %source setup glib -q -n glib-%{glib_version} |
---|
31 | %patch setup glib -p1 |
---|
32 | |
---|
33 | cd ${build_top} |
---|
34 | |
---|
35 | %build |
---|
36 | build_top=$(pwd) |
---|
37 | |
---|
38 | %{build_directory} |
---|
39 | |
---|
40 | mkdir -p ${build_dir} |
---|
41 | cd ${build_dir} |
---|
42 | |
---|
43 | %{host_build_flags} |
---|
44 | |
---|
45 | SYSROOT=$SB_TMPPREFIX |
---|
46 | |
---|
47 | PKG_CONFIG_PATH=$SYSROOT/lib/pkgconfig \ |
---|
48 | PKG_CONFIG_BUILD_TOP_DIR=$SB_TMPROOT \ |
---|
49 | %{_ld_library_path}=$SYSROOT/lib \ |
---|
50 | ../${source_dir_glib}/configure \ |
---|
51 | --prefix=%{_prefix} \ |
---|
52 | --bindir=%{_bindir} \ |
---|
53 | --exec_prefix=%{_exec_prefix} \ |
---|
54 | --includedir=%{_includedir} \ |
---|
55 | --libdir=%{_libdir} \ |
---|
56 | --libexecdir=%{_libexecdir} \ |
---|
57 | --mandir=%{_mandir} \ |
---|
58 | --infodir=%{_infodir} \ |
---|
59 | --datadir=%{_datadir} \ |
---|
60 | --build=%{_build} --host=%{_host} \ |
---|
61 | --with-sysroot=$SYSROOT \ |
---|
62 | --disable-dtrace \ |
---|
63 | --with-pcre=internal |
---|
64 | |
---|
65 | %{_ld_library_path}=$SYSROOT/lib \ |
---|
66 | %{__make} %{?_smp_mflags} all |
---|
67 | |
---|
68 | cd ${build_top} |
---|
69 | |
---|
70 | %install |
---|
71 | build_top=$(pwd) |
---|
72 | |
---|
73 | %{__rmdir} $SB_BUILD_ROOT |
---|
74 | |
---|
75 | cd ${build_dir} |
---|
76 | %{__make} DESTDIR=$SB_BUILD_ROOT install |
---|
77 | cd ${build_top} |
---|
Note: See
TracBrowser
for help on using the repository browser.