From 7ff38024bec68fe70fb6eec0f5cd16188507558f Mon Sep 17 00:00:00 2001 From: davidovski Date: Wed, 6 Oct 2021 23:29:58 +0100 Subject: added all lfs packages --- repo/extra/ninja.xibuild | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 repo/extra/ninja.xibuild (limited to 'repo/extra/ninja.xibuild') diff --git a/repo/extra/ninja.xibuild b/repo/extra/ninja.xibuild new file mode 100644 index 0000000..cfd705f --- /dev/null +++ b/repo/extra/ninja.xibuild @@ -0,0 +1,18 @@ +#!/bin/bash + +DEPS=(glibc) + +SOURCE=git://github.com/ninja-build/ninja.git +BRANCH=release +DESC="Small build system with a focus on speed" + +build () { + python configure.py --bootstrap + ./ninja ninja_test +} + +package () { + install -vm755 ninja $PKG_DEST/usr/bin/ + install -vDm644 misc/bash-completion $PKG_DEST/usr/share/bash-completion/completions/ninja + install -vDm644 misc/zsh-completion $PKG_DEST/usr/share/zsh/site-functions/_ninja +} -- cgit v1.2.1