source: rtems-source-builder/source-builder/config/microwindows-1.cfg @ f5e724f

4.104.95
Last change on this file since f5e724f was f5e724f, checked in by Chris Johns <chrisj@…>, on 04/15/16 at 01:56:36

graphics: Add 3rd party graphics support back to the master branch.

The support is added at the top level and so not lost when we
move to a new version of RTEMS.

The change also moves all 3rd party packages to use a common
rtems-package.bset build set file.

All packages except Microwindows itself build cleanly.

  • Property mode set to 100644
File size: 1.4 KB
Line 
1#
2# microwindows
3#
4# This configuration file configure's, make's and install's microwindows.
5#
6
7%if %{release} == %{nil}
8%define release 1
9%endif
10
11Name:      microwindows-v%{microwindows_version}-%{_host}-%{release}
12Summary:   microwindows is an Open Source Window System
13Version:   %{microwindows_version}
14Release:   %{release}
15URL:     http://www.microwindows.org/
16BuildRoot: %{_tmppath}/%{name}-root-%(%{__id_u} -n)
17
18#
19# microwindows Source
20#
21%source set microwindows ftp://microwindows.censoft.com/pub/microwindows/microwindows-src-%{microwindows_version}.tar.gz
22
23#
24# Prepare the source code.
25#
26%prep
27  build_top=$(pwd)
28
29  source_dir_microwindows="microwin"
30  %source setup microwindows -q -n microwin
31  %patch setup microwindows -p1
32
33  cd ${build_top}
34
35#
36# Build the source code.
37#
38%build
39  build_top=$(pwd)
40
41  %{build_directory}
42
43  mkdir -p ${build_dir}/src
44  cd ${build_dir}/src
45  cp -r ${build_top}/${source_dir_microwindows}/src/* .
46
47  #%{host_build_flags}
48
49  export RTEMS_MAKEFILE_PATH=%{rtems_bsp_prefix}
50
51  %{__make} -f Makefile.rtems CONFIG=`pwd`/Configs/config.rtems -k all
52
53  cd ${build_top}
54
55%install
56  build_top=$(pwd)
57
58  %{__rmdir} $SB_BUILD_ROOT
59
60  cd ${build_dir}/src
61  mkdir -p $SB_BUILD_ROOT/%{_includedir}
62  mkdir -p $SB_BUILD_ROOT/%{_libdir}
63  mkdir -p $SB_BUILD_ROOT/%{_bindir}
64  cp -r include/* $SB_BUILD_ROOT/%{_includedir}
65  cp -r lib/*.a $SB_BUILD_ROOT/%{_libdir}
66  cp -r bin/* $SB_BUILD_ROOT/%{_bindir}
Note: See TracBrowser for help on using the repository browser.