SampleSpecs/pecl: различия между версиями
(Новая страница: «<pre> %define php5_extension perl %define pecl_name perl Name: pecl-%pecl_name Version: 1.0.0 Release: alt4 Summary: Embedded Perl License: PHP Group: Development...») |
Нет описания правки |
||
(не показана 1 промежуточная версия 1 участника) | |||
Строка 12: | Строка 12: | ||
Group: Development/Other | Group: Development/Other | ||
Url: http://pecl.php.net/package/%pecl_name | Url: http://pecl.php.net/package/%pecl_name | ||
Source: http://pecl.php.net/get/%pecl_name-%version.tar | Source: http://pecl.php.net/get/%pecl_name-%version.tar | ||
Строка 58: | Строка 56: | ||
</pre> | </pre> | ||
Update: | |||
PECL can also be installed using YUM/CentOS as mentioned in this tutorial: http://programmingbulls.com/pecl-install | |||
{{Category navigation|title=SampleSpecs|category=SampleSpecs|sortkey={{SUBPAGENAME}}}} | {{Category navigation|title=SampleSpecs|category=SampleSpecs|sortkey={{SUBPAGENAME}}}} |
Текущая версия от 13:37, 18 июня 2023
%define php5_extension perl %define pecl_name perl Name: pecl-%pecl_name Version: 1.0.0 Release: alt4 Summary: Embedded Perl License: PHP Group: Development/Other Url: http://pecl.php.net/package/%pecl_name Source: http://pecl.php.net/get/%pecl_name-%version.tar BuildPreReq: rpm-build-pecl # Automatically added by buildreq on Sat Mar 01 2008 BuildRequires: gcc-c++ perl-devel php5-devel %description This extension embeds Perl Interpreter into PHP. It allows execute Perl files, evaluate Perl code, access Perl variables and instantiate Perl objects. %prep %setup -c %build cd %pecl_name-%version phpize %pecl_configure '--with-php-config=%_bindir/php-config' %make_build # Disabled due disabled proc_open # make test %install %pecl_install %pecl_install_doc CREDITS EXPERIMENTAL README TODO %post %php5_extension_postin %preun %php5_extension_preun %files %pecl_files %changelog * Tue Mar 09 2010 Anton Farygin <rider@altlinux.ru> 1.0.0-alt4 - Rebuild with php5-5.2.13.20100205-alt1
Update: PECL can also be installed using YUM/CentOS as mentioned in this tutorial: http://programmingbulls.com/pecl-install