Author: adamg Date: Sun Dec 18 21:47:49 2011 GMT Module: packages Tag: HEAD ---- Log message: - new; NFY
---- Files affected: packages/php-phc: php-phc.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: packages/php-phc/php-phc.spec diff -u /dev/null packages/php-phc/php-phc.spec:1.1 --- /dev/null Sun Dec 18 22:47:49 2011 +++ packages/php-phc/php-phc.spec Sun Dec 18 22:47:44 2011 @@ -0,0 +1,73 @@ +# $Revision$, $Date$ +# +# TODO: +# - teach php-phc-m4-php.patch to be lib64-aware +# - fix final linking (fails to link boost_regex) +# +Summary: open source compiler for PHP +Summary(pl.UTF-8): kompilator dla PHP o otwartych źródłach +Name: php-phc +Version: 0.3.0.1 +Release: 0.1 +License: BSD +Group: Applications +Source0: http://phpcompiler.org/src/archive/phc-%{version}.tar.bz2 +# Source0-md5: 098e3b45d973c1384535c8e8dee154b3 +Patch0: %{name}-m4-boost_regex.patch +Patch1: %{name}-m4-php.patch +Patch2: %{name}-php53.patch +URL: http://www.phpcompiler.org/ +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: boost-devel >= 1.35.0 +BuildRequires: boost-regex >= 1.35.0 +BuildRequires: php-devel +BuildRequires: php-embedded +BuildRequires: xerces-c-devel +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +phc is an open source compiler for PHP with support for plugins. In +addition, it can be used to pretty-print or obfuscate PHP code, as a +framework for developing applications that process PHP scripts, or to +convert PHP into XML and back, enabling processing of PHP scripts +using XML tools. + +%prep +%setup -q -n phc-%{version} +%patch0 -p1 +%patch1 -p1 +%patch2 -p1 + +%build +%{__aclocal} -I m4 -I libltdl +%{__autoconf} +%{__automake} +%configure \ + --with-php=/usr \ + --disable-gc +%{__make} + +%install +rm -rf $RPM_BUILD_ROOT + +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc AUTHORS CREDITS ChangeLog NEWS README THANKS TODO +%attr(755,root,root) %{_bindir}/* + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[email protected]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2011/12/18 21:47:44 adamg +- new; NFY + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
