Here's a simple shell script that creates package "php5-pecl-uuid" when called without parameters.
This script does following:
- create a build directory for this process (deb-build-$$)
- get the package source and prefix it with php-pecl
- quickly rewrite the debian control and rules files to redirect the package name (I couldn't get dh-make-pecl to correctly do this)
- build the package without signing it (debuild -uc -us)
- move the completed deb files to the parent (original) directory
This should be able to build any PECL library which should generate exactly one output deb. E.g. "make-pecl-deb apc" seems to work ok.
Here's a simple shell script that creates package "php5-pecl-uuid" when called without parameters.
This script does following:
- create a build directory for this process (deb-build-$$)
- get the package source and prefix it with php-pecl
- quickly rewrite the debian control and rules files to redirect the package name (I couldn't get dh-make-pecl to correctly do this)
- build the package without signing it (debuild -uc -us)
- move the completed deb files to the parent (original) directory
This should be able to build any PECL library which should generate exactly one output deb. E.g. "make-pecl-deb apc" seems to work ok.