0:fa750ce63bde | 1:aa351850781a |
---|---|
30 Distribution: OpenPKG Community | 30 Distribution: OpenPKG Community |
31 Class: BASE | 31 Class: BASE |
32 Group: Language | 32 Group: Language |
33 License: PHP | 33 License: PHP |
34 Version: 5.4.5 | 34 Version: 5.4.5 |
35 Release: 20120723 | 35 Release: 20120800 |
36 | 36 |
37 # package options | 37 # package options |
38 %option with_bc no | 38 %option with_bc no |
39 %option with_bdb no | 39 %option with_bdb no |
40 %option with_bzip2 no | 40 %option with_bzip2 no |
120 Source0: http://static.php.net/www.php.net/distributions/php-%{version}.tar.bz2 | 120 Source0: http://static.php.net/www.php.net/distributions/php-%{version}.tar.bz2 |
121 Source1: php.ini | 121 Source1: php.ini |
122 Patch0: php.patch | 122 Patch0: php.patch |
123 | 123 |
124 # build information | 124 # build information |
125 BuildPreReq: OpenPKG, openpkg >= 20120101, gcc, flex, bison | 125 BuildPreReq: OpenPKG, openpkg >= 20120101, make, gcc, flex, bison |
126 PreReq: OpenPKG, openpkg >= 20120101 | 126 PreReq: OpenPKG, openpkg >= 20120101 |
127 BuildPreReq: pcre | 127 BuildPreReq: pcre |
128 PreReq: pcre | 128 PreReq: pcre |
129 %if "%{with_sqlite}" == "yes" | 129 %if "%{with_sqlite}" == "yes" |
130 BuildPreReq: sqlite | 130 BuildPreReq: sqlite |
502 %endif | 502 %endif |
503 --enable-cli \ | 503 --enable-cli \ |
504 --enable-cgi | 504 --enable-cgi |
505 | 505 |
506 # build package | 506 # build package |
507 %{l_make} %{l_mflags} | 507 %{l_make} %{l_mflags -O} |
508 | 508 |
509 %install | 509 %install |
510 # install package | 510 # install package |
511 %{l_make} %{l_mflags} install INSTALL_ROOT=$RPM_BUILD_ROOT | 511 %{l_make} %{l_mflags} install INSTALL_ROOT=$RPM_BUILD_ROOT |
512 | 512 |