|
|
|
@ -32,8 +32,8 @@ Packager: The OpenPKG Project
|
|
|
|
|
Distribution: OpenPKG [BASE] |
|
|
|
|
Group: Language |
|
|
|
|
License: PHP |
|
|
|
|
Version: 4.2.3 |
|
|
|
|
Release: 20020907 |
|
|
|
|
Version: 4.3.0 |
|
|
|
|
Release: 20021228 |
|
|
|
|
|
|
|
|
|
# list of sources |
|
|
|
|
Source0: http://www.php.net/distributions/php-%{version}.tar.gz |
|
|
|
@ -60,7 +60,7 @@ AutoReqProv: no
|
|
|
|
|
%build |
|
|
|
|
CC="%{l_cc}" \ |
|
|
|
|
CFLAGS="%{l_cflags -O}" \ |
|
|
|
|
./configure \ |
|
|
|
|
./configure \ |
|
|
|
|
--prefix=%{l_prefix} \ |
|
|
|
|
--with-config-file-path=%{l_prefix}/etc/php \ |
|
|
|
|
--enable-force-cgi-redirect \ |
|
|
|
@ -74,7 +74,7 @@ AutoReqProv: no
|
|
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/bin \ |
|
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/cgi \ |
|
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/etc/php |
|
|
|
|
%{l_shtool} install -c -s -m 755 php $RPM_BUILD_ROOT%{l_prefix}/cgi/ |
|
|
|
|
%{l_shtool} install -c -s -m 755 sapi/cli/php $RPM_BUILD_ROOT%{l_prefix}/cgi/ |
|
|
|
|
ln $RPM_BUILD_ROOT%{l_prefix}/cgi/php \ |
|
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/bin/php |
|
|
|
|
%{l_shtool} install -c -m 644 /dev/null \ |
|
|
|
|