$ wget http://bart.eaccelerator.net/source/0.9.5.3/eaccelerator-0.9.5.3.tar.bz2
$ wget http://debian.mcmillan.net.nz/debian/dists/etch/awm/source/php5-eaccelerator_0.9.5.2-0+etch11.tar.gz
$ tar xjvf eaccelerator-0.9.5.3.tar.bz2
$ tar xzvf php5-eaccelerator_0.9.5.2-0+etch11.tar.gz php5-eaccelerator-0.9.5.2/debian
$ cp -R php5-eaccelerator-0.9.5.2/debian eaccelerator-0.9.5.3/
$ apt-cache policy php5-dev # Copy the last last version number, e.g. "5.2.6-4"
$ vim eaccelerator-0.9.5.3/debian/substvars # Set the PHP version in misc:Depends=php5-dev
$ vim eaccelerator-0.9.5.3/debian/changelog # Set the package version by duplicating (or editing) the topmost paragraph
$ vim eaccelerator-0.9.5.3/debian/eaccelerator.ini # Remove "#" from "extension=eaccelerator.so"
$ cd eaccelerator-0.9.5.3
$ dpkg-buildpackage
 
linux/php/eaccelerator.txt · Last modified: 2009/05/18 16:15 by admin