cimg: 1.5.9 -> 1.7.0

This commit is contained in:
Franz Pletz 2016-04-24 17:39:36 +02:00
parent b9fc31a415
commit a6fdcea877
2 changed files with 11 additions and 11 deletions

View File

@ -4,9 +4,8 @@ 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 -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 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/
cp -dr --no-preserve=ownership examples/* $doc/share/cimg/examples/
cp -dr --no-preserve=ownership plugins/* $doc/share/cimg/plugins/

View File

@ -4,21 +4,22 @@
stdenv.mkDerivation rec {
name = "cimg-${version}";
version = "1.5.9";
version = "1.7.0";
src = fetchurl {
url = "mirror://sourceforge/project/cimg/CImg-${version}.zip";
sha256 = "1xn20643gcbl76kvy9ajhwbyjjb73mg65q32ma8mdkwn1qhn7f7c";
url = "http://cimg.eu/files/CImg_${version}.zip";
sha256 = "06j3n7gvgxzvprqwf56nnca195y38dcbdlszrxyn5p9w9al437zj";
};
buildInputs = with stdenv.lib;
[ unzip ];
buildInputs = [ unzip ];
builder = ./builder.sh;
outputs = [ "out" "doc" ];
meta = with stdenv.lib; {
description = "A small, open source, C++ toolkit for image processing";
homepage = http://cimg.sourceforge.net/;
homepage = http://cimg.eu/;
license = licenses.cecill-c;
maintainers = [ maintainers.AndersonTorres ];
platforms = platforms.unix;