|
|
|
|
@ -33,7 +33,7 @@ Distribution: OpenPKG [BASE]
|
|
|
|
|
Group: Language |
|
|
|
|
License: PHP |
|
|
|
|
Version: 4.3.2 |
|
|
|
|
Release: 20030704 |
|
|
|
|
Release: 20030707 |
|
|
|
|
|
|
|
|
|
# package options (analog to apache.spec) |
|
|
|
|
%option with_calendar no |
|
|
|
|
@ -88,65 +88,86 @@ BuildPreReq: OpenPKG, openpkg >= 20020206, gcc, sed, flex, bison
|
|
|
|
|
PreReq: OpenPKG, openpkg >= 20020206 |
|
|
|
|
%if "%{with_mysql}" == "yes" |
|
|
|
|
BuildPreReq: mysql |
|
|
|
|
PreReq: mysql |
|
|
|
|
%endif |
|
|
|
|
%if "%{with_gd}" == "yes" |
|
|
|
|
BuildPreReq: gd, jpeg, png |
|
|
|
|
PreReq: gd, jpeg, png |
|
|
|
|
%endif |
|
|
|
|
%if "%{with_db}" == "yes" |
|
|
|
|
BuildPreReq: db |
|
|
|
|
PreReq: db |
|
|
|
|
%endif |
|
|
|
|
%if "%{with_pdflib}" == "yes" |
|
|
|
|
BuildPreReq: pdflib, jpeg, png |
|
|
|
|
PreReq: pdflib, jpeg, png |
|
|
|
|
%endif |
|
|
|
|
%if "%{with_zlib}" == "yes" |
|
|
|
|
BuildPreReq: zlib |
|
|
|
|
PreReq: zlib |
|
|
|
|
%endif |
|
|
|
|
%if "%{with_bzip2}" == "yes" |
|
|
|
|
BuildPreReq: bzip2 |
|
|
|
|
PreReq: bzip2 |
|
|
|
|
%endif |
|
|
|
|
%if "%{with_openssl}" == "yes" |
|
|
|
|
BuildPreReq: openssl |
|
|
|
|
PreReq: openssl |
|
|
|
|
%endif |
|
|
|
|
%if "%{with_openldap}" == "yes" |
|
|
|
|
BuildPreReq: openldap |
|
|
|
|
PreReq: openldap |
|
|
|
|
%if "%{with_openldapsasl}" == "yes" |
|
|
|
|
BuildPreReq: openldap::with_sasl = yes |
|
|
|
|
PreReq: openldap::with_sasl = yes |
|
|
|
|
%else |
|
|
|
|
BuildPreReq: openldap::with_sasl = no |
|
|
|
|
PreReq: openldap::with_sasl = no |
|
|
|
|
%endif |
|
|
|
|
%endif |
|
|
|
|
%if "%{with_mm}" == "yes" |
|
|
|
|
BuildPreReq: mm |
|
|
|
|
PreReq: mm |
|
|
|
|
%endif |
|
|
|
|
%if "%{with_pcre}" == "yes" |
|
|
|
|
BuildPreReq: pcre |
|
|
|
|
PreReq: pcre |
|
|
|
|
%endif |
|
|
|
|
%if "%{with_java}" == "yes" |
|
|
|
|
BuildPreReq: j2se |
|
|
|
|
PreReq: j2se |
|
|
|
|
%endif |
|
|
|
|
%if "%{with_freetype}" == "yes" |
|
|
|
|
BuildPreReq: freetype |
|
|
|
|
PreReq: freetype |
|
|
|
|
%endif |
|
|
|
|
%if "%{with_gettext}" == "yes" |
|
|
|
|
BuildPreReq: gettext, libiconv |
|
|
|
|
PreReq: gettext, libiconv |
|
|
|
|
%endif |
|
|
|
|
%if "%{with_imap}" == "yes" |
|
|
|
|
BuildPreReq: imap, openssl |
|
|
|
|
PreReq: imap, openssl |
|
|
|
|
%endif |
|
|
|
|
%if "%{with_xml}" == "yes" |
|
|
|
|
BuildPreReq: expat |
|
|
|
|
PreReq: expat |
|
|
|
|
%endif |
|
|
|
|
%if "%{with_dom}" == "yes" |
|
|
|
|
BuildPreReq: libxml, libxslt |
|
|
|
|
PreReq: libxml, libxslt |
|
|
|
|
%endif |
|
|
|
|
%if "%{with_curl}" == "yes" |
|
|
|
|
BuildPreReq: curl |
|
|
|
|
PreReq: curl |
|
|
|
|
%endif |
|
|
|
|
%if "%{with_mhash}" == "yes" |
|
|
|
|
BuildPreReq: mhash |
|
|
|
|
PreReq: mhash |
|
|
|
|
%endif |
|
|
|
|
%if "%{with_gdbm}" == "yes" |
|
|
|
|
BuildPreReq: gdbm, gdbm::with_ndbm = yes |
|
|
|
|
PreReq: gdbm, gdbm::with_ndbm = yes |
|
|
|
|
%endif |
|
|
|
|
%if "%{with_oci7}" == "yes" || "%{with_oci8}" == "yes" |
|
|
|
|
BuildPreReq: ORACLE |
|
|
|
|
|