nixpkgs/pkgs/development/libraries/cimg/builder.sh
2016-05-03 16:15:20 +02:00

12 lines
334 B
Bash

source $stdenv/setup
unpackPhase
cd $sourceRoot
install -dm 755 $out/include/cimg $doc/share/doc/cimg/html $doc/share/cimg/examples $doc/share/cimg/plugins
install -m 644 CImg.h $out/include/cimg
cp -dr --no-preserve=ownership examples/* $doc/share/cimg/examples/
cp -dr --no-preserve=ownership plugins/* $doc/share/cimg/plugins/