1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-18 02:46:28 +00:00
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/