apache-php/apache-php.spec

changeset 510
f30946597115
parent 503
80cfd6ca244d
child 671
f82939c12e5f
equal deleted inserted replaced
0:b4a422428399 1:4f9da5d8057f
30 Distribution: OpenPKG Community 30 Distribution: OpenPKG Community
31 Class: BASE 31 Class: BASE
32 Group: Web 32 Group: Web
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
121 Source1: apache-php.ini 121 Source1: apache-php.ini
122 Source2: apache-php.conf 122 Source2: apache-php.conf
123 Patch0: apache-php.patch 123 Patch0: apache-php.patch
124 124
125 # build information 125 # build information
126 BuildPreReq: OpenPKG, openpkg >= 20120101, gcc, flex, bison 126 BuildPreReq: OpenPKG, openpkg >= 20120101, make, gcc, flex, bison
127 PreReq: OpenPKG, openpkg >= 20120101 127 PreReq: OpenPKG, openpkg >= 20120101
128 BuildPreReq: apache 128 BuildPreReq: apache
129 PreReq: apache 129 PreReq: apache
130 BuildPreReq: pcre 130 BuildPreReq: pcre
131 PreReq: pcre 131 PreReq: pcre
505 --with-apxs2=%{l_prefix}/sbin/apxs \ 505 --with-apxs2=%{l_prefix}/sbin/apxs \
506 --disable-cli \ 506 --disable-cli \
507 --disable-cgi 507 --disable-cgi
508 508
509 # build package 509 # build package
510 %{l_make} %{l_mflags} 510 %{l_make} %{l_mflags -O}
511 511
512 %install 512 %install
513 # install package 513 # install package
514 %{l_make} %{l_mflags} install-sapi INSTALL_ROOT=$RPM_BUILD_ROOT 514 %{l_make} %{l_mflags} install-sapi INSTALL_ROOT=$RPM_BUILD_ROOT
515 mv $RPM_BUILD_ROOT%{l_prefix}/libexec/apache/libphp5.so \ 515 mv $RPM_BUILD_ROOT%{l_prefix}/libexec/apache/libphp5.so \

mercurial