cd($this->source_dir)->initializeEnv($this) ->appendEnv(['CFLAGS' => "-I{$this->getIncludeDir()}", 'LDFLAGS' => "-L{$this->getLibDir()}"]) ->exec('libtoolize --force --copy') ->exec('./autogen.sh || autoreconf -if') ->exec('./configure --prefix= --enable-static --disable-shared --disable-tests --disable-nls --with-pic') ->exec("make -j {$this->builder->concurrency}") ->exec('make install DESTDIR=' . BUILD_ROOT_PATH); $this->patchPkgconfPrefix(['libacl.pc'], PKGCONF_PATCH_PREFIX); } }