add inotify

This commit is contained in:
crazywhalecc
2023-04-08 18:55:23 +08:00
parent 54efec60b8
commit 000ebef28b
4 changed files with 16 additions and 31 deletions

View File

@@ -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}");
}
}