Skip to content

Commit

Permalink
Create PECL package
Browse files Browse the repository at this point in the history
  • Loading branch information
mgdm committed Oct 8, 2013
1 parent cf0b221 commit b478d3d
Show file tree
Hide file tree
Showing 3 changed files with 62 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CREDITS
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
libmosquitto PHP binding
Michael Maclean <[email protected]>
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,5 @@ This is an extension to allow using the [Mosquitto MQTT library](https://mosquitt

## To do

* ZTS support
* Arginfo
* Tests
60 changes: 60 additions & 0 deletions package.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
<?xml version="1.0" encoding="UTF-8"?>
<package xmlns="https://pear.php.net/dtd/package-2.0" xmlns:tasks="https://pear.php.net/dtd/tasks-1.0" xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance" packagerversion="1.4.7" version="2.0" xsi:schemaLocation="https://pear.php.net/dtd/tasks-1.0 https://pear.php.net/dtd/tasks-1.0.xsd https://pear.php.net/dtd/package-2.0 https://pear.php.net/dtd/package-2.0.xsd">
<name>Mosquitto</name>
<channel>pecl.mgdm.net</channel>
<summary>Extension for libmosquitto</summary>
<description>Mosquitto provides support for the MQTT protocol, including publishing, subscribing, and an event loop.</description>
<lead>
<name>Michael Maclean</name>
<user>mgdm</user>
<email>[email protected]</email>
<active>yes</active>
</lead>

<date>2013-10-08</date>
<version><release>0.0.1</release><api>0.1.1</api></version>
<stability><release>beta</release><api>beta</api></stability>
<license uri="https://www.php.net/license">PHP License</license>
<notes>
Initial release.
</notes>

<contents>
<dir name="/">
<file role="doc" name="README.md"/>
<file role="doc" name="CREDITS"/>
<file role="doc" name="LICENCE"/>

<file role="src" name="php_mosquitto.h"/>

<file role="src" name="mosquitto.c"/>
<file role="src" name="mosquitto_message.c"/>

<file role="src" name="config.m4"/>
</dir>
</contents>

<dependencies>
<required>
<php>
<min>5.3.0</min>
</php>
<pearinstaller>
<min>1.4.0</min>
</pearinstaller>
</required>

</dependencies>

<providesextension>mosquitto</providesextension>

<extsrcrelease>
<configureoption default="autodetect" name="with-mosquitto" prompt="Please provide the prefix of the libmosquitto installation" />
</extsrcrelease>

<changelog>
</changelog>
</package>
<!--
vim:et:ts=1:sw=1
-->

0 comments on commit b478d3d

Please sign in to comment.