Permalink
Browse files

Added package.xml and LICENSE

git-svn-id: https://ookoo.org/svn/pecl-spidermonkey@39 a25dae62-eead-11dd-be30-d70757e1f724
  • Loading branch information...
1 parent 4b30b8b commit 217dba394a0e42e66a22f1f7546108cbf3d5b74f MagicalTux committed Feb 22, 2009
Showing with 130 additions and 1 deletion.
  1. +68 −0 LICENSE
  2. +61 −0 package.xml
  3. +1 −1 php_spidermonkey.h
View
68 LICENSE
@@ -0,0 +1,68 @@
+--------------------------------------------------------------------
+ The PHP License, version 3.01
+Copyright (c) 1999 - 2009 The PHP Group. All rights reserved.
+--------------------------------------------------------------------
+
+Redistribution and use in source and binary forms, with or without
+modification, is permitted provided that the following conditions
+are met:
+
+ 1. Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+
+ 2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in
+ the documentation and/or other materials provided with the
+ distribution.
+
+ 3. The name "PHP" must not be used to endorse or promote products
+ derived from this software without prior written permission. For
+ written permission, please contact group@php.net.
+
+ 4. Products derived from this software may not be called "PHP", nor
+ may "PHP" appear in their name, without prior written permission
+ from group@php.net. You may indicate that your software works in
+ conjunction with PHP by saying "Foo for PHP" instead of calling
+ it "PHP Foo" or "phpfoo"
+
+ 5. The PHP Group may publish revised and/or new versions of the
+ license from time to time. Each version will be given a
+ distinguishing version number.
+ Once covered code has been published under a particular version
+ of the license, you may always continue to use it under the terms
+ of that version. You may also choose to use such covered code
+ under the terms of any subsequent version of the license
+ published by the PHP Group. No one other than the PHP Group has
+ the right to modify the terms applicable to covered code created
+ under this License.
+
+ 6. Redistributions of any form whatsoever must retain the following
+ acknowledgment:
+ "This product includes PHP software, freely available from
+ <http://www.php.net/software/>".
+
+THIS SOFTWARE IS PROVIDED BY THE PHP DEVELOPMENT TEAM ``AS IS'' AND
+ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
+PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE PHP
+DEVELOPMENT TEAM OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
+STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
+OF THE POSSIBILITY OF SUCH DAMAGE.
+
+--------------------------------------------------------------------
+
+This software consists of voluntary contributions made by many
+individuals on behalf of the PHP Group.
+
+The PHP Group can be contacted via Email at group@php.net.
+
+For more information on the PHP Group and the PHP project,
+please see <http://www.php.net>.
+
+PHP includes the Zend Engine, freely available at
+<http://www.zend.com>.
View
@@ -0,0 +1,61 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<package xmlns="http://pear.php.net/dtd/package-2.0" xmlns:tasks="http://pear.php.net/dtd/tasks-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" packagerversion="1.4.7" version="2.0" xsi:schemaLocation="http://pear.php.net/dtd/tasks-1.0 http://pear.php.net/dtd/tasks-1.0.xsd http://pear.php.net/dtd/package-2.0 http://pear.php.net/dtd/package-2.0.xsd">
+ <name>spidermonkey</name>
+ <channel>pecl.php.net</channel>
+ <summary>JavaScript engine for PHP</summary>
+ <description>
+ Bla bla
+</description>
+ <lead>
+ <name>Christophe Robin</name>
+ <user>crobin</user>
+ <email>...</email>
+ <active>yes</active>
+ </lead>
+ <date>2009-02-22</date>
+ <version>
+ <release>0.8dev</release><api>0.8dev</api>
+ </version>
+ <stability>
+ <release>alpha</release><api>alpha</api>
+ </stability>
+ <license uri="http://www.php.net/license">PHP License</license>
+ <notes>
+ - Created package.xml
+</notes>
+ <contents>
+ <dir name="/">
+ <file name="LICENSE" role="doc"/>
+ <file name="config.m4" role="src"/>
+ <file name="spidermonkey.c" role="src"/>
+ <file name="spidermonkey_context.c" role="src"/>
+ <file name="spidermonkey_external.c" role="src"/>
+ <file name="spidermonkey_strings.c" role="src"/>
+ <file name="php_spidermonkey.h" role="src">
+ <tasks:replace from="@PACKAGE_VERSION@" to="version" type="package-info" />
+ </file>
+ </dir>
+ </contents>
+ <dependencies>
+ <required>
+ <php>
+ <min>5.3.0</min>
+ </php>
+ <pearinstaller>
+ <min>1.4.0</min>
+ </pearinstaller>
+ </required>
+ </dependencies>
+ <providesextension>spidermonkey</providesextension>
+ <extsrcrelease/>
+ <changelog>
+ <release>
+ <stability><release>alpha</release><api>alpha</api></stability>
+ <version><release>0.7</release><api>0.7</api></version>
+ <date>2009-01-30</date>
+ <notes>
+ - Old version example
+ </notes>
+ </release>
+ </changelog>
+</package>
View
@@ -5,7 +5,7 @@
/* Define Extension Properties */
#define PHP_SPIDERMONKEY_EXTNAME "spidermonkey"
#define PHP_SPIDERMONKEY_MINFO_NAME "SpiderMonkey"
-#define PHP_SPIDERMONKEY_EXTVER "0.8"
+#define PHP_SPIDERMONKEY_EXTVER "@PACKAGE_VERSION@"
/* Import configure options
when building outside of

0 comments on commit 217dba3

Please sign in to comment.