summary refs log tree commit diff
path: root/pkgs/development/libraries/cimg/builder.sh
blob: bbd5f712551788f1bd0deea26a39aae2c3d23f15 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
source $stdenv/setup

unpackPhase
cd $sourceRoot

install -dm 755 $out/include/cimg $out/share/doc/cimg/html $out/share/cimg/examples $out/share/cimg/plugins

install -m 644 CImg.h $out/include/cimg
cp -dr --no-preserve=ownership html/* $out/share/doc/cimg/html/
cp -dr --no-preserve=ownership examples/* $out/share/cimg/examples/
cp -dr --no-preserve=ownership plugins/* $out/share/cimg/plugins/