0:a39c30bd6f2d | 1:14d197a67198 |
---|---|
30 Distribution: OpenPKG Community | 30 Distribution: OpenPKG Community |
31 Class: EVAL | 31 Class: EVAL |
32 Group: XWindow | 32 Group: XWindow |
33 License: MIT-style | 33 License: MIT-style |
34 Version: 0.26.2 | 34 Version: 0.26.2 |
35 Release: 20120630 | 35 Release: 20120800 |
36 | |
37 # package options | |
38 %option with_pic no | |
36 | 39 |
37 # list of sources | 40 # list of sources |
38 Source0: http://cairographics.org/releases/pixman-%{version}.tar.gz | 41 Source0: http://cairographics.org/releases/pixman-%{version}.tar.gz |
39 Patch0: libpixman.patch | 42 Patch0: libpixman.patch |
40 | 43 |
57 %setup -q -n pixman-%{version} | 60 %setup -q -n pixman-%{version} |
58 %patch -p0 | 61 %patch -p0 |
59 | 62 |
60 %build | 63 %build |
61 CC="%{l_cc}" \ | 64 CC="%{l_cc}" \ |
65 %if "%{with_pic}" == "yes" | |
66 CFLAGS="%{l_cflags -O} -fPIC" \ | |
67 LDFLAGS="%{l_cflags -O} -fPIC" \ | |
68 %else | |
62 CFLAGS="%{l_cflags -O}" \ | 69 CFLAGS="%{l_cflags -O}" \ |
70 %endif | |
63 ./configure \ | 71 ./configure \ |
64 --prefix=%{l_prefix} \ | 72 --prefix=%{l_prefix} \ |
65 --disable-gtk \ | 73 --disable-gtk \ |
66 --disable-shared | 74 --disable-shared |
67 %{l_make} %{l_mflags -O} | 75 %{l_make} %{l_mflags -O} |