source: rtems-source-builder/source-builder/config/pixman-0-1.cfg @ 96c414c

5
Last change on this file since 96c414c was 96c414c, checked in by Chris Johns <chrisj@…>, on 10/22/18 at 00:59:10

windows: Remove BuildRoot? from all configs, add a short tmp path.

Closes #3562.

  • Property mode set to 100644
File size: 1.4 KB
Line 
1#
2# Pixman 0.x.x Version 1.
3#
4# This configuration file configure's, make's and install's Pixman.
5#
6
7%if %{release} == %{nil}
8%define release 1
9%endif
10
11Name:      pixman-%{pixman_version}-%{_host}-%{release}
12Summary:   Pixman is a low-level software library for pixel manipulation,
13           providing features such as image compositing and trapezoid
14           rasterization.
15Version:   %{pixman_version}
16Release:   %{release}
17URL:       http://www.pixman.org/
18
19#
20# Source
21#
22%source set pixman http://cairographics.org/releases/pixman-%{pixman_version}.tar.gz
23
24#
25# Prepare the source code.
26#
27%prep
28  build_top=$(pwd)
29
30  source_dir_pixman="pixman-%{pixman_version}"
31  %source setup pixman -q -n pixman-%{pixman_version}
32  %patch setup pixman -p1
33
34  cd ${build_top}
35
36%build
37  build_top=$(pwd)
38
39  %{build_directory}
40
41  mkdir -p ${build_dir}
42  cd ${build_dir}
43
44  %{host_build_flags}
45
46  ../${source_dir_pixman}/configure \
47    --prefix=%{_prefix} \
48    --bindir=%{_bindir} \
49    --exec_prefix=%{_exec_prefix} \
50    --includedir=%{_includedir} \
51    --libdir=%{_libdir} \
52    --libexecdir=%{_libexecdir} \
53    --mandir=%{_mandir} \
54    --infodir=%{_infodir} \
55    --datadir=%{_datadir} \
56    --build=%{_build} --host=%{_host} \
57    --disable-gtk \
58    --disable-libpng
59
60  %{__make} %{?_smp_mflags} all
61
62  cd ${build_top}
63
64%install
65  build_top=$(pwd)
66
67  %{__rmdir} $SB_BUILD_ROOT
68
69  cd ${build_dir}
70  %{__make} DESTDIR=$SB_BUILD_ROOT install
71  cd ${build_top}
Note: See TracBrowser for help on using the repository browser.