Created
July 2, 2014 15:24
-
-
Save dragolabs/73af4579bfbe97630f23 to your computer and use it in GitHub Desktop.
Example for packaging pecl extension with fpm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fpm --force \ | |
-s dir \ | |
-t deb \ | |
--vendor dragolabs \ | |
--maintainer 'Vitaly Shishlyannikov <[email protected]>' \ | |
--deb-user root \ | |
--deb-group root \ | |
--url http://dragolabs.org \ | |
--version $VERSION \ | |
--iteration ddr`date +%y%m%d%H%M` \ | |
-C install_dir \ | |
--description 'Pecl http module for php5' \ | |
--config-files /etc/php5/conf.d/http.ini \ | |
--depends php5-cli \ | |
--depends php5-common \ | |
--name php5-http \ | |
--package php5-http-VERSION-ARCH.deb \ | |
. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment