nixpkgs/pkgs/development/libraries/cimg/builder.sh

12 lines
334 B
Bash
Raw Normal View History

source $stdenv/setup
unpackPhase
cd $sourceRoot
2016-04-24 17:39:36 +02:00
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
2016-04-24 17:39:36 +02:00
cp -dr --no-preserve=ownership examples/* $doc/share/cimg/examples/
cp -dr --no-preserve=ownership plugins/* $doc/share/cimg/plugins/