From: <jbo...@li...> - 2006-05-29 17:01:34
|
Author: jfr...@jb... Date: 2006-05-29 13:01:28 -0400 (Mon, 29 May 2006) New Revision: 4467 Modified: labs/jbossweb/trunk/src/share/native/build/buildphp.sh Log: Add the package in a compressed tarball. Modified: labs/jbossweb/trunk/src/share/native/build/buildphp.sh =================================================================== --- labs/jbossweb/trunk/src/share/native/build/buildphp.sh 2006-05-29 16:53:58 UTC (rev 4466) +++ labs/jbossweb/trunk/src/share/native/build/buildphp.sh 2006-05-29 17:01:28 UTC (rev 4467) @@ -482,3 +482,25 @@ ld -G -o libphp5servlet.so php5servlet.o -L $TOOLS/PHP/lib -lphp5 ) cp ../php5servlet/libphp5servlet.so $TOOLS/PHP/lib + +# +# At that point everything is build. +# Copy the libraries to php/lib +cp -p $TOOLS/POSTGRESQL/lib/libpq.so* $TOOLS/PHP/lib +cp -p $TOOLS/SSL/lib/libcrypto.so* $TOOLS/PHP/lib +cp -p $TOOLS/SSL/lib/libssl.so* $TOOLS/PHP/lib +cp -p $TOOLS/LPNG/lib/libpng12.so* $TOOLS/PHP/lib +cp -p $TOOLS/LIBXML2/lib/libxml2.so* $TOOLS/PHP/lib + +# +# Build the war file with the demo +ant +mkdir -p $TOOLS/webapps +cp -p php-examples.war $TOOLS/webapps + +# +# Build a tarball with the all stuff +(cd $TOOLS/ + tar zcvf php5servlet.tar.gz PHP/lib webapps +) + |