diff --git a/config/ext.json b/config/ext.json index f54a30ff..af586a0d 100644 --- a/config/ext.json +++ b/config/ext.json @@ -298,6 +298,10 @@ ], "unix-only": true }, + "inotify": { + "type": "external", + "source": "inotify" + }, "swow": { "type": "external", "source": "swow", diff --git a/config/source.json b/config/source.json index 3d60d094..80724432 100644 --- a/config/source.json +++ b/config/source.json @@ -205,6 +205,16 @@ "path": "LICENSE" } }, + "inotify": { + "type": "url", + "url": "http://pecl.php.net/get/inotify", + "path": "php-src/ext/inotify", + "filename": "inotify.tgz", + "license": { + "type": "file", + "path": "LICENSE" + } + }, "pthreads4w": { "type": "git", "rev": "master", diff --git a/ext-support.md b/ext-support.md index c445151e..b1a8d869 100644 --- a/ext-support.md +++ b/ext-support.md @@ -25,8 +25,8 @@ | gettext | | | | | gmp | untested | untested | | | hash | yes | yes | | -| iconv | untested | | | -| inotify | | | | +| iconv | yes | | | +| inotify | yes | yes | | | mbstring | yes | yes | | | mcrypt | | [faulty](https://github.com/crazywhalecc/static-php-cli/issues/32) | | | mongodb | untested | | | diff --git a/src/SPC/builder/linux/library/libuv.php b/src/SPC/builder/linux/library/libuv.php deleted file mode 100644 index 2d3bc684..00000000 --- a/src/SPC/builder/linux/library/libuv.php +++ /dev/null @@ -1,29 +0,0 @@ -cd($this->source_dir) - ->exec('./autogen.sh') - ->exec( - "{$this->builder->configure_env} ./configure " . - '--enable-static --disable-shared ' . - '--prefix=' - ) - ->exec('make clean') - ->exec("make -j{$this->builder->concurrency}") - ->exec("make install DESTDIR={$destdir}"); - } -}