https://github.com/sharkdp/pastel https://david-peter.de/ pastel v0.8.0 A command-line tool to generate, analyze, convert and manipulate colors rust ca-certificates.tcz is installed sudo mkdir -p /etc/ssl/ sudo ln -s /usr/local/etc/ssl/certs /etc/ssl/certs install latest rust compiler: # https://www.rust-lang.org/tools/install # reference: https://github.com/rust-lang/rust curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh Development dependencies: tce-load -i compiletc python3.6 automake cmake curl openssl-1.1.1 pkg-config fontconfig-dev compiletc python3.6 automake cmake curl openssl-1.1.1 pkg-config fontconfig-dev Building on a Unix-like system Make sure you have installed the dependencies: g++ 5.1 or later or clang++ 3.5 or later python 3 or 2.7 GNU make 3.81 or later cmake 3.4.3 or later curl git ssl which comes in libssl-dev or openssl-devel pkg-config if you are compiling on Linux and targeting Linux fontconfig-dev source $HOME/.cargo/env wget https://github.com/sharkdp/pastel/archive/v0.8.0.tar.gz ?? release.sh (commenting out the non-Linux builds) # not these usual rust methods # cargo build (from dir with Cargo.toml) cargo install --path . test with base norestore Runtime dependencies: pastel.tcz.dep none find ./squashfs-root -exec touch -m --reference=./squashfs-root/usr/local/bin/pastel {} + mksquashfs ./squashfs-root ./pastel.tcz -noappend -no-xattrs mksquashfs ./squashfs-root ./pastel-doc.tcz -noappend -no-xattrs submitqc --color --libs --fix --strip ./pastel.tcz submitqc --color --libs --fix --strip ./pastel-doc.tcz # get the extension files dates the same as tcz for file in pastel.tcz; do touch --no-create --reference=./squashfs-root/usr/local/bin/pastel $file; done for file in pastel.tcz.*; do touch --no-create --reference=pastel.tcz $file; done for file in pastel-doc.tcz.*; do touch --no-create --reference=pastel-doc.tcz $file; done # set the permissions for file in pastel.*; do chmod 666 $file; done for file in pastel-doc.*; do chmod 666 $file; done #tar all necessary and optional files, example: tar cvzf ./pastel.tar.gz ./pastel/ tar cvzf ./pastel-doc.tar.gz ./pastel-doc/ save this file with name compile_pastel