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.

19 lines
465 B

compile_waf() {
local binary='waf'
local OPTIND=1
local opt
8 years ago
while getopts 'b:' opt; do case "$opt" in
b) local binary="$OPTARG" ;;
esac; done
shift $(expr $OPTIND - 1)
[ "$1" = '--' ] && shift || true
$binary configure build install \
--prefix="/$dir_prefix" \
--bindir="/$dir_prefix/$dir_bindir" \
--libdir="/$dir_prefix/$dir_libdir" \
--destdir="$dir_install" \
"$WAFFLAGS" "$@"
}