nixpkgs/pkgs/development/tools/analysis/garcosim/tracefilegen/builder.sh
2016-05-19 18:00:09 +10:00

17 lines
312 B
Bash

source "$stdenv"/setup
cp --recursive "$src" ./
chmod --recursive u=rwx ./"$(basename "$src")"
cd ./"$(basename "$src")"
cmake ./
make
mkdir --parents "$out"/bin
cp ./TraceFileGen "$out"/bin
mkdir --parents "$out"/share/doc/"$name"/html
cp --recursive ./Documentation/html/* "$out/share/doc/$name/html/"