redox/recipes/uutils/recipe.sh
2017-12-08 20:57:33 -07:00

65 lines
669 B
Bash

GIT=https://github.com/redox-os/uutils.git
GIT_UPSTREAM=https://github.com/uutils/coreutils.git
CARGOFLAGS="--no-default-features --features redox"
BINS=(
base32
base64
basename
chmod
cksum
comm
cp
cut
date
dircolors
dirname
echo
env
expand
expr
factor
false
fmt
fold
head
install
link
ls
mktemp
mv
od
paste
printenv
printf
pwd
readlink
realpath
relpath
rm
rmdir
seq
shuf
sleep
split
sum
tac
tee
tr
true
truncate
tsort
unexpand
uniq
wc
yes
)
function recipe_stage {
mkdir -p "$1/bin"
for bin in "${BINS[@]}"
do
ln -s uutils "$1/bin/$bin"
done
}