mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 04:44:53 +08:00
add inotify
This commit is contained in:
parent
54efec60b8
commit
000ebef28b
@ -298,6 +298,10 @@
|
|||||||
],
|
],
|
||||||
"unix-only": true
|
"unix-only": true
|
||||||
},
|
},
|
||||||
|
"inotify": {
|
||||||
|
"type": "external",
|
||||||
|
"source": "inotify"
|
||||||
|
},
|
||||||
"swow": {
|
"swow": {
|
||||||
"type": "external",
|
"type": "external",
|
||||||
"source": "swow",
|
"source": "swow",
|
||||||
|
|||||||
@ -205,6 +205,16 @@
|
|||||||
"path": "LICENSE"
|
"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": {
|
"pthreads4w": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"rev": "master",
|
"rev": "master",
|
||||||
|
|||||||
@ -25,8 +25,8 @@
|
|||||||
| gettext | | | |
|
| gettext | | | |
|
||||||
| gmp | untested | untested | |
|
| gmp | untested | untested | |
|
||||||
| hash | yes | yes | |
|
| hash | yes | yes | |
|
||||||
| iconv | untested | | |
|
| iconv | yes | | |
|
||||||
| inotify | | | |
|
| inotify | yes | yes | |
|
||||||
| mbstring | yes | yes | |
|
| mbstring | yes | yes | |
|
||||||
| mcrypt | | [faulty](https://github.com/crazywhalecc/static-php-cli/issues/32) | |
|
| mcrypt | | [faulty](https://github.com/crazywhalecc/static-php-cli/issues/32) | |
|
||||||
| mongodb | untested | | |
|
| mongodb | untested | | |
|
||||||
|
|||||||
@ -1,29 +0,0 @@
|
|||||||
<?php
|
|
||||||
|
|
||||||
declare(strict_types=1);
|
|
||||||
|
|
||||||
namespace SPC\builder\linux\library;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* is a template library class for unix
|
|
||||||
*/
|
|
||||||
class libuv extends LinuxLibraryBase
|
|
||||||
{
|
|
||||||
public const NAME = 'libuv';
|
|
||||||
|
|
||||||
protected function build()
|
|
||||||
{
|
|
||||||
[,,$destdir] = SEPARATED_PATH;
|
|
||||||
|
|
||||||
shell()->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}");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Loading…
x
Reference in New Issue
Block a user