add libedit

This commit is contained in:
DubbleClick
2025-10-08 08:16:54 +02:00
parent 384ba54c79
commit 911bc74bf4
6 changed files with 62 additions and 7 deletions

View File

@@ -0,0 +1,20 @@
<?php
declare(strict_types=1);
namespace SPC\builder\unix\library;
use SPC\util\executor\UnixAutoconfExecutor;
trait libedit
{
protected function build(): void
{
UnixAutoconfExecutor::create($this)
->configure(
'--with-curses'
)
->make();
$this->patchPkgconfPrefix(['libedit.pc']);
}
}