Was supposed to be a linux distribution, now just a collection of build scripts for packages on top of (ideally) any distribution.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

26 lines
882 B

name=ninja
version=1.7.2
update_url="https://github.com/ninja-build/$name/releases"
define_option '!bootstrap: Bootstrap this program'
dlextract "https://github.com/ninja-build/$name/archive/v$version.tar.gz" \
'7b482218757acbaeac4d4d54a3cd94e1'
header_end
cd "$name-$version"
if option bootstrap; then
./configure.py --bootstrap
else
./configure.py
ninja
fi
install -Dm755 -t "$dir_install/$dir_prefix/$dir_bindir" "$name"
install -Dm644 misc/bash-completion "$dir_install/$dir_prefix/$dir_datadir/bash-completion/completions/$name"
install -Dm644 misc/zsh-completion "$dir_install/$dir_prefix/$dir_datadir/zsh/site-functions/_$name"
install -Dm644 misc/ninja.vim "$dir_install/$dir_prefix/$dir_datadir/vim/vimfiles/syntax/$name.vim"
# Not installing emacs stuff because I have no idea how it works
# vim:set tabstop=4 shiftwidth=4 syntax=sh expandtab: