summaryrefslogtreecommitdiffstats
path: root/php-pear/php-dev/DEPENDS
diff options
context:
space:
mode:
authorGeorge Sherwood2007-06-10 11:32:55 +0500
committerGeorge Sherwood2007-06-10 11:32:55 +0500
commitb149bf0d503edc556a16f2168ca4f761be378cf7 (patch)
tree08d488a2479775c9e77800a9f3f19ff77d0a2403 /php-pear/php-dev/DEPENDS
parentd70b5bf354b12b31b6b8065390d21db9a32b6665 (diff)
php-dev: Complete update to use snapshots vice pulling from cvs.
Our flex version will not allow files to be generated properly from cvs version. Requires flex 2.5.4 Thanks to Jaka for writing the function code.
Diffstat (limited to 'php-pear/php-dev/DEPENDS')
-rwxr-xr-xphp-pear/php-dev/DEPENDS264
1 files changed, 158 insertions, 106 deletions
diff --git a/php-pear/php-dev/DEPENDS b/php-pear/php-dev/DEPENDS
index 3a0bad5106..f19710eaf4 100755
--- a/php-pear/php-dev/DEPENDS
+++ b/php-pear/php-dev/DEPENDS
@@ -1,106 +1,158 @@
-depends autoconf &&
-depends APACHE &&
-depends CVS &&
-depends libtool &&
-depends flex &&
-depends icu &&
-
-optional_depends zlib \
- '--with-zlib --with-zlib-dir=/usr' \
- '--without-zlib' \
- 'for LZ compression support' &&
-optional_depends bzip2 \
- '--with-bz2=/usr' \
- '--without-bz2' \
- 'for compression support' &&
-optional_depends pspell \
- '--with-pspell=/usr' \
- '--without-pspell' \
- 'for spelling functions' &&
-optional_depends mhash \
- '--with-mhash=/usr' \
- '--without-mhash' \
- 'for hash functions support' &&
-optional_depends mcrypt \
- '--with-mcrypt=/usr' \
- '--without-mcrypt' \
- 'for crypto library' &&
-optional_depends curl \
- '--with-curl=/usr' \
- '--without-curl' \
- 'for transferring files using URL syntax' &&
-optional_depends gmp \
- '--with-gmp=/usr' \
- '--without-gmp' \
- 'GNU multi precision library support' &&
-optional_depends openssl \
- '--with-openssl=/usr' \
- '--without-openssl' \
- 'for OpenSSL support' &&
-optional_depends gettext \
- '--with-gettext=/usr' \
- '--without-gettext' \
- 'for GNU gettext support' &&
-optional_depends pcre \
- '--with-pcre=/usr' \
- '--without-pcre' \
- 'for Perl regex support' &&
-optional_depends postgresql \
- '--with-pgsql=/usr' \
- '--without-pgsql' \
- 'for native Postgresql support' &&
-optional_depends mysql \
- '--with-mysql=/usr' \
- '--without-mysql' \
- 'for native MySQL support' &&
-optional_depends gdbm \
- '--with-gdbm=/usr' \
- '--without-gdbm' \
- 'database routines that use extensive hashing' &&
-optional_depends mm \
- '--with-mm=/usr' \
- '--without-mm' \
- 'for sharing memory between related processes' &&
-optional_depends openldap \
- '--with-ldap=/usr' \
- '--without-ldap' \
- 'for LDAP support' &&
-optional_depends expat \
- '--enable-xml --with-expat-dir=/usr' \
- '--disable-xml' \
- 'for XML parsing' &&
-optional_depends sablot \
- '--enable-xslt --with-xslt-sablot=/usr' \
- '--disable-xslt' \
- 'for XSLT support' &&
-optional_depends libxml2 \
- '--with-dom=/usr' \
- '--without-dom' \
- 'for DOM XML support' &&
-optional_depends libxslt \
- '--with-dom-xslt=/usr --with-dom-exslt=/usr' \
- '--without-dom-xslt --without-dom-exslt' \
- 'for DOM XSLT support' &&
-optional_depends t1lib \
- '--with-t1lib=/usr/share/t1lib' \
- '--without-tlib' \
- 'for t1lib support' &&
-optional_depends jpeg \
- '--with-jpeg-dir=/usr' \
- '--without-jpeg-dir' \
- 'for JPEG support (also required for GD)' &&
-optional_depends libpng \
- '--with-png-dir=/usr' \
- '--without-png-dir' \
- 'for PNG support (also required for GD)' &&
-optional_depends gd \
- '--with-gd --enable-gd-native-ttf --with-freetype-dir=/usr/lib' \
- '--without-gd' \
- 'for on the fly graphics creation (GD support)' &&
-optional_depends X11-LIBS \
- '--with-xpm-dir=/usr/X11R6' \
- '' \
- 'for XFree86 support'
-
-#imap_ssl=$(spell_ok openssl && echo '--with-imap-ssl')
-#optional_depends imap "--with-imap $imap_ssl" '--without-imap' 'for IMAP protocol support'
+source $GRIMOIRE/FUNCTIONS &&
+
+depends flex &&
+depends readline "--with-readline=/usr" &&
+
+# Officially ZLib is optional, but we require it because some other
+# optional extensions depend on it, and it"s omnipresent anyway.
+depends zlib "--with-zlib --with-zlib-dir=/usr" &&
+
+# This is required since PHP 5
+depends libxml2 '--enable-xml --with-dom --with-xmlrpc' &&
+
+#This is required since PHP 6
+depends icu &&
+
+case "$PHP4_APACHE" in
+ handler) depends APACHE;;
+ filter) depends APACHE2;;
+esac &&
+
+if [ "$PHP5_X11LIBS" == "y" ]; then
+ depends X11-LIBS
+ if check_if_xorg_modular_libs; then
+ depends libxpm
+ fi
+fi &&
+
+if [ "$PHP5_GD" == "external" ]; then
+ depends gd "--with-gd=/usr --enable-gd-native-ttf"
+fi &&
+
+optional_depends C-CLIENT \
+ "--with-imap" \
+ "--without-imap" \
+ "for IMAP support" \
+ z-rejected &&
+
+optional_depends MAIL-TRANSPORT-AGENT \
+ "" \
+ "" \
+ "for SMTP support" &&
+
+optional_depends bzip2 \
+ "--with-bz2=/usr" \
+ "--without-bz2" \
+ "for compression support" &&
+
+optional_depends aspell \
+ "--with-pspell=/usr" \
+ "--without-pspell" \
+ "for spelling functions" &&
+
+optional_depends mhash \
+ "--with-mhash=/usr" \
+ "--without-mhash" \
+ "for hash functions support" &&
+
+optional_depends mcrypt \
+ "--with-mcrypt=/usr" \
+ "--without-mcrypt" \
+ "for crypto library" &&
+
+optional_depends libmcal \
+ "--with-mcal=/usr" \
+ "--without-mcal" \
+ "for MCAL calendaring library" &&
+
+optional_depends curl \
+ "--with-curl=/usr" \
+ "--without-curl" \
+ "for transferring files using URL syntax" &&
+
+optional_depends gmp \
+ "--with-gmp=/usr" \
+ "--without-gmp" \
+ "GNU multi precision library support" &&
+
+optional_depends openssl \
+ "--with-openssl=/usr" \
+ "--without-openssl" \
+ "for OpenSSL support" &&
+
+optional_depends gettext \
+ "--with-gettext=/usr" \
+ "--without-gettext" \
+ "for GNU gettext support" &&
+
+optional_depends firebird \
+ '--with-pdo-firebird=/usr/firebird' \
+ '--without-pdo-firebird' \
+ 'for native Firebird support' &&
+
+optional_depends unixodbc \
+ '--with-unixODBC=/usr' \
+ '--without-unixODBC' \
+ 'for ODBC database support' &&
+
+optional_depends libiodbc \
+ '--with-iodbc=/usr' \
+ '--without-iobc' \
+ 'for ODBC database support' &&
+
+optional_depends postgresql \
+ "--with-pgsql=/usr" \
+ "--without-pgsql" \
+ "for native Postgresql support" &&
+
+optional_depends mysql \
+ "--with-mysql=/usr" \
+ "--without-mysql" \
+ "for native MySQL support" &&
+
+optional_depends gdbm \
+ "--with-gdbm=/usr" \
+ "--without-gdbm" \
+ "database routines that use extensive hashing" &&
+
+optional_depends sqlite \
+ '--with-sqlite --enable-sqlite-utf8' \
+ '--without-sqlite' \
+ 'for SQLite support' &&
+
+optional_depends mm \
+ "--with-mm=/usr" \
+ "--without-mm" \
+ "for sharing memory between related processes" &&
+
+optional_depends openldap \
+ "--with-ldap=/usr" \
+ "--without-ldap" \
+ "for LDAP support" &&
+
+optional_depends libxslt \
+ "--with-dom-xslt=/usr --with-dom-exslt=/usr" \
+ "--without-dom-xslt --without-dom-exslt" \
+ "for DOM XSLT support" &&
+
+optional_depends t1lib \
+ "--with-t1lib=/usr/share/t1lib" \
+ "--without-tlib" \
+ "for t1lib support" &&
+
+optional_depends jpeg \
+ "--with-jpeg-dir=/usr" \
+ "--without-jpeg-dir" \
+ "for JPEG support (also required for GD)" &&
+
+optional_depends libpng \
+ "--with-png-dir=/usr" \
+ "--without-png-dir" \
+ "for PNG support (also required for GD)" &&
+
+if [ "$PHP5_GD" != "none" ]; then
+ optional_depends freetype2 \
+ "--with-freetype-dir=/usr" \
+ "--without-freetype-dir" \
+ "for freetype2 support"
+fi