Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37587733
en ru br
ALT Linux repos
5.0: 0.9.5.3-alt2
4.1: 0.9.5.2-alt1
4.0: 0.9.5.2-alt0.M40.1

Group :: System/Servers
RPM: php5-eaccelerator

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define php5_extension eaccelerator
###############################################################
Name: php5-%php5_extension
Version: 0.9.5.2
Release: alt1
Group: System/Servers
License: GPL

Source: %php5_extension-%version.tar.bz2

Source1: php-%php5_extension.ini
Source2: php-%php5_extension-params.sh

Summary: eAccelerator is a free open source PHP accelerator, optimizer, encoder and dynamic content cache for PHP

# Automatically added by buildreq on Wed Nov 22 2006

BuildRequires(pre): rpm-build-php5 >= %php5_version-%php5_release
BuildRequires:  php5-devel = %php5_version-%php5_release


%description
eAccelerator is a free open source PHP  accelerator,  optimizer,  encoder  and
dynamic content cache for PHP. It increases  performance  of  PHP  scripts  by
caching them in compiled state, so that the overhead of  compiling  is  almost
completely eliminated. It also optimises  the  script  to speed  up  execution
of PHP scripts. eAccelerator typically reduces server load and  increases  the
speed of your PHP code by 1-10 times.


%prep
%setup -c

%build
export CFLAGS="$RPM_OPT_FLAGS -fPIC"
pushd %php5_extension-%version
phpize
%configure \
   --enable-eaccelerator=shared \
   --without-eaccelerator-encoder \
   --without-eaccelerator-loader \
   --with-eaccelerator-shared-memory \
   --with-eaccelerator-content-caching
   
%php5_make

%install
pushd %php5_extension-%version
%php5_make_install
%__mkdir_p %buildroot/%_cachedir/%php5_extension
%__install -D -m 644 %SOURCE1 %buildroot/%php5_extconf/%php5_extension/config
%__install -D -m 644 %SOURCE2 %buildroot/%php5_extconf/%php5_extension/params

%files
%php5_extconf/%php5_extension
%php5_extdir/*
%_cachedir/%php5_extension
#doc CREDITS

%post
%php5_extension_postin

%preun
%php5_extension_preun

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin