summaryrefslogtreecommitdiff
path: root/php
diff options
context:
space:
mode:
authorJuergen Daubert <jue@jue.li>2008-05-07 19:41:47 +0200
committerJuergen Daubert <jue@jue.li>2008-05-07 19:41:47 +0200
commita16e58a768c1cbcc68ef9b8e1b4ec11eea4ad7be (patch)
tree38f9e3131c9e415e6db6b4ed66780889bc646b57 /php
parent5eaff2711782efd65032f612e3cac854c7a6333a (diff)
downloadopt-a16e58a768c1cbcc68ef9b8e1b4ec11eea4ad7be.tar.gz
opt-a16e58a768c1cbcc68ef9b8e1b4ec11eea4ad7be.tar.xz
php: new port
Diffstat (limited to 'php')
-rw-r--r--php/.footprint287
-rw-r--r--php/.md5sum2
-rw-r--r--php/Pkgfile44
-rw-r--r--php/extensions.ini11
4 files changed, 344 insertions, 0 deletions
diff --git a/php/.footprint b/php/.footprint
new file mode 100644
index 000000000..2d12b43b2
--- /dev/null
+++ b/php/.footprint
@@ -0,0 +1,287 @@
+drwxr-xr-x root/root etc/
+drwxr-xr-x root/root etc/php/
+drwxr-xr-x root/root etc/php/conf.d/
+-rw-r--r-- root/root etc/php/conf.d/extensions.ini
+-rw-r--r-- root/root etc/php/php.ini-dist
+-rw-r--r-- root/root etc/php/php.ini-recommended
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/php
+-rwxr-xr-x root/root usr/bin/php-config
+-rwxr-xr-x root/root usr/bin/phpize
+drwxr-xr-x root/root usr/include/
+drwxr-xr-x root/root usr/include/php/
+drwxr-xr-x root/root usr/include/php/TSRM/
+-rw-r--r-- root/root usr/include/php/TSRM/TSRM.h
+-rw-r--r-- root/root usr/include/php/TSRM/acconfig.h
+-rw-r--r-- root/root usr/include/php/TSRM/readdir.h
+-rw-r--r-- root/root usr/include/php/TSRM/tsrm_config.h
+-rw-r--r-- root/root usr/include/php/TSRM/tsrm_config.w32.h
+-rw-r--r-- root/root usr/include/php/TSRM/tsrm_config_common.h
+-rw-r--r-- root/root usr/include/php/TSRM/tsrm_nw.h
+-rw-r--r-- root/root usr/include/php/TSRM/tsrm_strtok_r.h
+-rw-r--r-- root/root usr/include/php/TSRM/tsrm_virtual_cwd.h
+-rw-r--r-- root/root usr/include/php/TSRM/tsrm_win32.h
+drwxr-xr-x root/root usr/include/php/Zend/
+-rw-r--r-- root/root usr/include/php/Zend/FlexLexer.h
+-rw-r--r-- root/root usr/include/php/Zend/acconfig.h
+-rw-r--r-- root/root usr/include/php/Zend/zend.h
+-rw-r--r-- root/root usr/include/php/Zend/zend_API.h
+-rw-r--r-- root/root usr/include/php/Zend/zend_alloc.h
+-rw-r--r-- root/root usr/include/php/Zend/zend_builtin_functions.h
+-rw-r--r-- root/root usr/include/php/Zend/zend_compile.h
+-rw-r--r-- root/root usr/include/php/Zend/zend_config.h
+-rw-r--r-- root/root usr/include/php/Zend/zend_config.nw.h
+-rw-r--r-- root/root usr/include/php/Zend/zend_config.w32.h
+-rw-r--r-- root/root usr/include/php/Zend/zend_constants.h
+-rw-r--r-- root/root usr/include/php/Zend/zend_dynamic_array.h
+-rw-r--r-- root/root usr/include/php/Zend/zend_errors.h
+-rw-r--r-- root/root usr/include/php/Zend/zend_exceptions.h
+-rw-r--r-- root/root usr/include/php/Zend/zend_execute.h
+-rw-r--r-- root/root usr/include/php/Zend/zend_extensions.h
+-rw-r--r-- root/root usr/include/php/Zend/zend_fast_cache.h
+-rw-r--r-- root/root usr/include/php/Zend/zend_globals.h
+-rw-r--r-- root/root usr/include/php/Zend/zend_globals_macros.h
+-rw-r--r-- root/root usr/include/php/Zend/zend_hash.h
+-rw-r--r-- root/root usr/include/php/Zend/zend_highlight.h
+-rw-r--r-- root/root usr/include/php/Zend/zend_indent.h
+-rw-r--r-- root/root usr/include/php/Zend/zend_ini.h
+-rw-r--r-- root/root usr/include/php/Zend/zend_ini_parser.h
+-rw-r--r-- root/root usr/include/php/Zend/zend_ini_scanner.h
+-rw-r--r-- root/root usr/include/php/Zend/zend_interfaces.h
+-rw-r--r-- root/root usr/include/php/Zend/zend_istdiostream.h
+-rw-r--r-- root/root usr/include/php/Zend/zend_iterators.h
+-rw-r--r-- root/root usr/include/php/Zend/zend_language_parser.h
+-rw-r--r-- root/root usr/include/php/Zend/zend_language_scanner.h
+-rw-r--r-- root/root usr/include/php/Zend/zend_list.h
+-rw-r--r-- root/root usr/include/php/Zend/zend_llist.h
+-rw-r--r-- root/root usr/include/php/Zend/zend_modules.h
+-rw-r--r-- root/root usr/include/php/Zend/zend_multibyte.h
+-rw-r--r-- root/root usr/include/php/Zend/zend_multiply.h
+-rw-r--r-- root/root usr/include/php/Zend/zend_object_handlers.h
+-rw-r--r-- root/root usr/include/php/Zend/zend_objects.h
+-rw-r--r-- root/root usr/include/php/Zend/zend_objects_API.h
+-rw-r--r-- root/root usr/include/php/Zend/zend_operators.h
+-rw-r--r-- root/root usr/include/php/Zend/zend_ptr_stack.h
+-rw-r--r-- root/root usr/include/php/Zend/zend_qsort.h
+-rw-r--r-- root/root usr/include/php/Zend/zend_stack.h
+-rw-r--r-- root/root usr/include/php/Zend/zend_static_allocator.h
+-rw-r--r-- root/root usr/include/php/Zend/zend_stream.h
+-rw-r--r-- root/root usr/include/php/Zend/zend_strtod.h
+-rw-r--r-- root/root usr/include/php/Zend/zend_ts_hash.h
+-rw-r--r-- root/root usr/include/php/Zend/zend_types.h
+-rw-r--r-- root/root usr/include/php/Zend/zend_variables.h
+-rw-r--r-- root/root usr/include/php/Zend/zend_vm.h
+-rw-r--r-- root/root usr/include/php/Zend/zend_vm_def.h
+-rw-r--r-- root/root usr/include/php/Zend/zend_vm_execute.h
+-rw-r--r-- root/root usr/include/php/Zend/zend_vm_opcodes.h
+drwxr-xr-x root/root usr/include/php/ext/
+drwxr-xr-x root/root usr/include/php/ext/date/
+drwxr-xr-x root/root usr/include/php/ext/date/lib/
+-rw-r--r-- root/root usr/include/php/ext/date/lib/timelib.h
+-rw-r--r-- root/root usr/include/php/ext/date/lib/timelib_config.h
+-rw-r--r-- root/root usr/include/php/ext/date/lib/timelib_structs.h
+-rw-r--r-- root/root usr/include/php/ext/date/php_date.h
+drwxr-xr-x root/root usr/include/php/ext/dom/
+-rw-r--r-- root/root usr/include/php/ext/dom/xml_common.h
+drwxr-xr-x root/root usr/include/php/ext/filter/
+-rw-r--r-- root/root usr/include/php/ext/filter/php_filter.h
+drwxr-xr-x root/root usr/include/php/ext/hash/
+-rw-r--r-- root/root usr/include/php/ext/hash/php_hash.h
+-rw-r--r-- root/root usr/include/php/ext/hash/php_hash_adler32.h
+-rw-r--r-- root/root usr/include/php/ext/hash/php_hash_crc32.h
+-rw-r--r-- root/root usr/include/php/ext/hash/php_hash_gost.h
+-rw-r--r-- root/root usr/include/php/ext/hash/php_hash_haval.h
+-rw-r--r-- root/root usr/include/php/ext/hash/php_hash_md.h
+-rw-r--r-- root/root usr/include/php/ext/hash/php_hash_ripemd.h
+-rw-r--r-- root/root usr/include/php/ext/hash/php_hash_sha.h
+-rw-r--r-- root/root usr/include/php/ext/hash/php_hash_snefru.h
+-rw-r--r-- root/root usr/include/php/ext/hash/php_hash_tiger.h
+-rw-r--r-- root/root usr/include/php/ext/hash/php_hash_types.h
+-rw-r--r-- root/root usr/include/php/ext/hash/php_hash_whirlpool.h
+drwxr-xr-x root/root usr/include/php/ext/iconv/
+-rw-r--r-- root/root usr/include/php/ext/iconv/php_have_bsd_iconv.h
+-rw-r--r-- root/root usr/include/php/ext/iconv/php_have_glibc_iconv.h
+-rw-r--r-- root/root usr/include/php/ext/iconv/php_have_iconv.h
+-rw-r--r-- root/root usr/include/php/ext/iconv/php_have_libiconv.h
+-rw-r--r-- root/root usr/include/php/ext/iconv/php_iconv.h
+-rw-r--r-- root/root usr/include/php/ext/iconv/php_iconv_supports_errno.h
+-rw-r--r-- root/root usr/include/php/ext/iconv/php_php_iconv_h_path.h
+-rw-r--r-- root/root usr/include/php/ext/iconv/php_php_iconv_impl.h
+drwxr-xr-x root/root usr/include/php/ext/libxml/
+-rw-r--r-- root/root usr/include/php/ext/libxml/php_libxml.h
+drwxr-xr-x root/root usr/include/php/ext/pcre/
+drwxr-xr-x root/root usr/include/php/ext/pcre/pcrelib/
+-rw-r--r-- root/root usr/include/php/ext/pcre/pcrelib/config.h
+-rw-r--r-- root/root usr/include/php/ext/pcre/pcrelib/pcre.h
+-rw-r--r-- root/root usr/include/php/ext/pcre/pcrelib/pcre_internal.h
+-rw-r--r-- root/root usr/include/php/ext/pcre/pcrelib/pcreposix.h
+-rw-r--r-- root/root usr/include/php/ext/pcre/pcrelib/ucp.h
+-rw-r--r-- root/root usr/include/php/ext/pcre/pcrelib/ucpinternal.h
+-rw-r--r-- root/root usr/include/php/ext/pcre/pcrelib/ucptable.h
+-rw-r--r-- root/root usr/include/php/ext/pcre/php_pcre.h
+drwxr-xr-x root/root usr/include/php/ext/pdo/
+-rw-r--r-- root/root usr/include/php/ext/pdo/php_pdo.h
+-rw-r--r-- root/root usr/include/php/ext/pdo/php_pdo_driver.h
+drwxr-xr-x root/root usr/include/php/ext/session/
+-rw-r--r-- root/root usr/include/php/ext/session/mod_files.h
+-rw-r--r-- root/root usr/include/php/ext/session/mod_user.h
+-rw-r--r-- root/root usr/include/php/ext/session/php_session.h
+drwxr-xr-x root/root usr/include/php/ext/spl/
+-rw-r--r-- root/root usr/include/php/ext/spl/php_spl.h
+-rw-r--r-- root/root usr/include/php/ext/spl/spl_array.h
+-rw-r--r-- root/root usr/include/php/ext/spl/spl_directory.h
+-rw-r--r-- root/root usr/include/php/ext/spl/spl_engine.h
+-rw-r--r-- root/root usr/include/php/ext/spl/spl_exceptions.h
+-rw-r--r-- root/root usr/include/php/ext/spl/spl_functions.h
+-rw-r--r-- root/root usr/include/php/ext/spl/spl_iterators.h
+-rw-r--r-- root/root usr/include/php/ext/spl/spl_observer.h
+-rw-r--r-- root/root usr/include/php/ext/spl/spl_sxe.h
+drwxr-xr-x root/root usr/include/php/ext/sqlite/
+drwxr-xr-x root/root usr/include/php/ext/sqlite/libsqlite/
+drwxr-xr-x root/root usr/include/php/ext/sqlite/libsqlite/src/
+-rw-r--r-- root/root usr/include/php/ext/sqlite/libsqlite/src/sqlite.h
+drwxr-xr-x root/root usr/include/php/ext/standard/
+-rw-r--r-- root/root usr/include/php/ext/standard/base64.h
+-rw-r--r-- root/root usr/include/php/ext/standard/basic_functions.h
+-rw-r--r-- root/root usr/include/php/ext/standard/crc32.h
+-rw-r--r-- root/root usr/include/php/ext/standard/credits.h
+-rw-r--r-- root/root usr/include/php/ext/standard/credits_ext.h
+-rw-r--r-- root/root usr/include/php/ext/standard/credits_sapi.h
+-rw-r--r-- root/root usr/include/php/ext/standard/css.h
+-rw-r--r-- root/root usr/include/php/ext/standard/cyr_convert.h
+-rw-r--r-- root/root usr/include/php/ext/standard/datetime.h
+-rw-r--r-- root/root usr/include/php/ext/standard/dl.h
+-rw-r--r-- root/root usr/include/php/ext/standard/dns.h
+-rw-r--r-- root/root usr/include/php/ext/standard/exec.h
+-rw-r--r-- root/root usr/include/php/ext/standard/file.h
+-rw-r--r-- root/root usr/include/php/ext/standard/flock_compat.h
+-rw-r--r-- root/root usr/include/php/ext/standard/fsock.h
+-rw-r--r-- root/root usr/include/php/ext/standard/head.h
+-rw-r--r-- root/root usr/include/php/ext/standard/html.h
+-rw-r--r-- root/root usr/include/php/ext/standard/info.h
+-rw-r--r-- root/root usr/include/php/ext/standard/md5.h
+-rw-r--r-- root/root usr/include/php/ext/standard/microtime.h
+-rw-r--r-- root/root usr/include/php/ext/standard/pack.h
+-rw-r--r-- root/root usr/include/php/ext/standard/pageinfo.h
+-rw-r--r-- root/root usr/include/php/ext/standard/php_array.h
+-rw-r--r-- root/root usr/include/php/ext/standard/php_assert.h
+-rw-r--r-- root/root usr/include/php/ext/standard/php_browscap.h
+-rw-r--r-- root/root usr/include/php/ext/standard/php_crypt.h
+-rw-r--r-- root/root usr/include/php/ext/standard/php_dir.h
+-rw-r--r-- root/root usr/include/php/ext/standard/php_ext_syslog.h
+-rw-r--r-- root/root usr/include/php/ext/standard/php_filestat.h
+-rw-r--r-- root/root usr/include/php/ext/standard/php_fopen_wrappers.h
+-rw-r--r-- root/root usr/include/php/ext/standard/php_ftok.h
+-rw-r--r-- root/root usr/include/php/ext/standard/php_http.h
+-rw-r--r-- root/root usr/include/php/ext/standard/php_image.h
+-rw-r--r-- root/root usr/include/php/ext/standard/php_incomplete_class.h
+-rw-r--r-- root/root usr/include/php/ext/standard/php_iptc.h
+-rw-r--r-- root/root usr/include/php/ext/standard/php_lcg.h
+-rw-r--r-- root/root usr/include/php/ext/standard/php_link.h
+-rw-r--r-- root/root usr/include/php/ext/standard/php_mail.h
+-rw-r--r-- root/root usr/include/php/ext/standard/php_math.h
+-rw-r--r-- root/root usr/include/php/ext/standard/php_metaphone.h
+-rw-r--r-- root/root usr/include/php/ext/standard/php_rand.h
+-rw-r--r-- root/root usr/include/php/ext/standard/php_smart_str.h
+-rw-r--r-- root/root usr/include/php/ext/standard/php_smart_str_public.h
+-rw-r--r-- root/root usr/include/php/ext/standard/php_standard.h
+-rw-r--r-- root/root usr/include/php/ext/standard/php_string.h
+-rw-r--r-- root/root usr/include/php/ext/standard/php_type.h
+-rw-r--r-- root/root usr/include/php/ext/standard/php_uuencode.h
+-rw-r--r-- root/root usr/include/php/ext/standard/php_var.h
+-rw-r--r-- root/root usr/include/php/ext/standard/php_versioning.h
+-rw-r--r-- root/root usr/include/php/ext/standard/proc_open.h
+-rw-r--r-- root/root usr/include/php/ext/standard/quot_print.h
+-rw-r--r-- root/root usr/include/php/ext/standard/reg.h
+-rw-r--r-- root/root usr/include/php/ext/standard/scanf.h
+-rw-r--r-- root/root usr/include/php/ext/standard/sha1.h
+-rw-r--r-- root/root usr/include/php/ext/standard/streamsfuncs.h
+-rw-r--r-- root/root usr/include/php/ext/standard/uniqid.h
+-rw-r--r-- root/root usr/include/php/ext/standard/url.h
+-rw-r--r-- root/root usr/include/php/ext/standard/url_scanner.h
+-rw-r--r-- root/root usr/include/php/ext/standard/url_scanner_ex.h
+drwxr-xr-x root/root usr/include/php/ext/xml/
+-rw-r--r-- root/root usr/include/php/ext/xml/expat_compat.h
+-rw-r--r-- root/root usr/include/php/ext/xml/php_xml.h
+drwxr-xr-x root/root usr/include/php/ext/zip/
+drwxr-xr-x root/root usr/include/php/ext/zip/lib/
+drwxr-xr-x root/root usr/include/php/ext/zip/lib/lib/
+-rw-r--r-- root/root usr/include/php/ext/zip/lib/zip.h
+-rw-r--r-- root/root usr/include/php/ext/zip/lib/zip_alias.h
+-rw-r--r-- root/root usr/include/php/ext/zip/lib/zipint.h
+-rw-r--r-- root/root usr/include/php/ext/zip/lib/zipint_alias.h
+drwxr-xr-x root/root usr/include/php/include/
+drwxr-xr-x root/root usr/include/php/main/
+-rw-r--r-- root/root usr/include/php/main/SAPI.h
+-rw-r--r-- root/root usr/include/php/main/build-defs.h
+-rw-r--r-- root/root usr/include/php/main/config.w32.h
+-rw-r--r-- root/root usr/include/php/main/fopen_wrappers.h
+-rw-r--r-- root/root usr/include/php/main/logos.h
+-rw-r--r-- root/root usr/include/php/main/php.h
+-rw-r--r-- root/root usr/include/php/main/php3_compat.h
+-rw-r--r-- root/root usr/include/php/main/php_compat.h
+-rw-r--r-- root/root usr/include/php/main/php_config.h
+-rw-r--r-- root/root usr/include/php/main/php_content_types.h
+-rw-r--r-- root/root usr/include/php/main/php_globals.h
+-rw-r--r-- root/root usr/include/php/main/php_ini.h
+-rw-r--r-- root/root usr/include/php/main/php_logos.h
+-rw-r--r-- root/root usr/include/php/main/php_main.h
+-rw-r--r-- root/root usr/include/php/main/php_memory_streams.h
+-rw-r--r-- root/root usr/include/php/main/php_network.h
+-rw-r--r-- root/root usr/include/php/main/php_open_temporary_file.h
+-rw-r--r-- root/root usr/include/php/main/php_output.h
+-rw-r--r-- root/root usr/include/php/main/php_reentrancy.h
+-rw-r--r-- root/root usr/include/php/main/php_regex.h
+-rw-r--r-- root/root usr/include/php/main/php_scandir.h
+-rw-r--r-- root/root usr/include/php/main/php_streams.h
+-rw-r--r-- root/root usr/include/php/main/php_syslog.h
+-rw-r--r-- root/root usr/include/php/main/php_ticks.h
+-rw-r--r-- root/root usr/include/php/main/php_variables.h
+-rw-r--r-- root/root usr/include/php/main/php_version.h
+-rw-r--r-- root/root usr/include/php/main/rfc1867.h
+-rw-r--r-- root/root usr/include/php/main/safe_mode.h
+-rw-r--r-- root/root usr/include/php/main/snprintf.h
+-rw-r--r-- root/root usr/include/php/main/spprintf.h
+drwxr-xr-x root/root usr/include/php/main/streams/
+-rw-r--r-- root/root usr/include/php/main/streams/php_stream_context.h
+-rw-r--r-- root/root usr/include/php/main/streams/php_stream_filter_api.h
+-rw-r--r-- root/root usr/include/php/main/streams/php_stream_mmap.h
+-rw-r--r-- root/root usr/include/php/main/streams/php_stream_plain_wrapper.h
+-rw-r--r-- root/root usr/include/php/main/streams/php_stream_transport.h
+-rw-r--r-- root/root usr/include/php/main/streams/php_stream_userspace.h
+-rw-r--r-- root/root usr/include/php/main/streams/php_streams_int.h
+-rw-r--r-- root/root usr/include/php/main/win95nt.h
+drwxr-xr-x root/root usr/include/php/regex/
+-rw-r--r-- root/root usr/include/php/regex/cclass.h
+-rw-r--r-- root/root usr/include/php/regex/cname.h
+-rw-r--r-- root/root usr/include/php/regex/regex.h
+-rw-r--r-- root/root usr/include/php/regex/regex2.h
+-rw-r--r-- root/root usr/include/php/regex/regex_extra.h
+-rw-r--r-- root/root usr/include/php/regex/utils.h
+drwxr-xr-x root/root usr/lib/
+drwxr-xr-x root/root usr/lib/php/
+drwxr-xr-x root/root usr/lib/php/build/
+-rw-r--r-- root/root usr/lib/php/build/Makefile.global
+-rw-r--r-- root/root usr/lib/php/build/acinclude.m4
+-rwxr-xr-x root/root usr/lib/php/build/config.guess
+-rwxr-xr-x root/root usr/lib/php/build/config.sub
+-rw-r--r-- root/root usr/lib/php/build/libtool.m4
+-rw-r--r-- root/root usr/lib/php/build/ltmain.sh
+-rw-r--r-- root/root usr/lib/php/build/mkdep.awk
+-rw-r--r-- root/root usr/lib/php/build/phpize.m4
+-rw-r--r-- root/root usr/lib/php/build/run-tests.php
+-rw-r--r-- root/root usr/lib/php/build/scan_makefile_in.awk
+-rwxr-xr-x root/root usr/lib/php/build/shtool
+drwxr-xr-x root/root usr/lib/php/extensions/
+-rwxr-xr-x root/root usr/lib/php/extensions/bz2.so
+-rwxr-xr-x root/root usr/lib/php/extensions/curl.so
+-rwxr-xr-x root/root usr/lib/php/extensions/dba.so
+-rwxr-xr-x root/root usr/lib/php/extensions/openssl.so
+-rwxr-xr-x root/root usr/lib/php/extensions/zip.so
+-rwxr-xr-x root/root usr/lib/php/extensions/zlib.so
+drwxr-xr-x root/root usr/man/
+drwxr-xr-x root/root usr/man/man1/
+-rw-r--r-- root/root usr/man/man1/php-config.1.gz
+-rw-r--r-- root/root usr/man/man1/php.1.gz
+-rw-r--r-- root/root usr/man/man1/phpize.1.gz
diff --git a/php/.md5sum b/php/.md5sum
new file mode 100644
index 000000000..0eae8369e
--- /dev/null
+++ b/php/.md5sum
@@ -0,0 +1,2 @@
+94703e81113a11512d893e8b13ca3922 extensions.ini
+7380ffecebd95c6edb317ef861229ebd php-5.2.6.tar.bz2
diff --git a/php/Pkgfile b/php/Pkgfile
new file mode 100644
index 000000000..db4f52df9
--- /dev/null
+++ b/php/Pkgfile
@@ -0,0 +1,44 @@
+# Description: PHP interpreter, extension modules and support stuff
+# URL: http://www.php.net
+# Maintainer: Jürgen Daubert, juergen dot daubert at t-online dot de
+# Depends on: ncurses readline libxml2 bzip2 curl db gdbm openssl zip zlib
+
+name=php
+version=5.2.6
+release=1
+source=(http://www.php.net/distributions/php-$version.tar.bz2
+ extensions.ini)
+
+build () {
+ cd php-$version
+
+ local PHP_CONFIG="
+ --prefix=/usr \
+ --with-config-file-path=/etc/php \
+ --with-config-file-scan-dir=/etc/php/conf.d \
+ --disable-static --disable-debug --disable-pear"
+
+ local PHP_SHARED="
+ --enable-dba=shared --with-gdbm --with-db4 \
+ --with-bz2=shared \
+ --with-curl=shared \
+ --with-openssl=shared \
+ --enable-zip=shared \
+ --with-zlib=shared"
+
+ EXTENSION_DIR=/usr/lib/php/extensions \
+ ./configure \
+ $PHP_CONFIG \
+ $PHP_SHARED \
+ --enable-cli \
+ --disable-cgi \
+ --with-readline
+
+ make
+ make -j1 INSTALL_ROOT=$PKG install
+ rm $PKG/usr/lib/php/extensions/*.a
+
+ install -d $PKG/etc/php/conf.d
+ install -m 644 php.ini-* $PKG/etc/php
+ install -m 644 $SRC/extensions.ini $PKG/etc/php/conf.d
+}
diff --git a/php/extensions.ini b/php/extensions.ini
new file mode 100644
index 000000000..1ac05ae91
--- /dev/null
+++ b/php/extensions.ini
@@ -0,0 +1,11 @@
+;
+; /etc/php/conf.d/extensions.ini
+;
+
+extension=bz2.so
+extension=curl.so
+extension=dba.so
+extension=openssl.so
+extension=zlib.so
+extension=zip.so
+

Generated by cgit