cimg: 1.5.9 -> 1.7.0
This commit is contained in:
parent
b9fc31a415
commit
a6fdcea877
@ -4,9 +4,8 @@ source $stdenv/setup
|
|||||||
unpackPhase
|
unpackPhase
|
||||||
cd $sourceRoot
|
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
|
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/* $doc/share/cimg/examples/
|
||||||
cp -dr --no-preserve=ownership examples/* $out/share/cimg/examples/
|
cp -dr --no-preserve=ownership plugins/* $doc/share/cimg/plugins/
|
||||||
cp -dr --no-preserve=ownership plugins/* $out/share/cimg/plugins/
|
|
||||||
|
@ -4,21 +4,22 @@
|
|||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
|
||||||
name = "cimg-${version}";
|
name = "cimg-${version}";
|
||||||
version = "1.5.9";
|
version = "1.7.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/project/cimg/CImg-${version}.zip";
|
url = "http://cimg.eu/files/CImg_${version}.zip";
|
||||||
sha256 = "1xn20643gcbl76kvy9ajhwbyjjb73mg65q32ma8mdkwn1qhn7f7c";
|
sha256 = "06j3n7gvgxzvprqwf56nnca195y38dcbdlszrxyn5p9w9al437zj";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = with stdenv.lib;
|
buildInputs = [ unzip ];
|
||||||
[ unzip ];
|
|
||||||
|
|
||||||
builder = ./builder.sh;
|
builder = ./builder.sh;
|
||||||
|
|
||||||
|
outputs = [ "out" "doc" ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "A small, open source, C++ toolkit for image processing";
|
description = "A small, open source, C++ toolkit for image processing";
|
||||||
homepage = http://cimg.sourceforge.net/;
|
homepage = http://cimg.eu/;
|
||||||
license = licenses.cecill-c;
|
license = licenses.cecill-c;
|
||||||
maintainers = [ maintainers.AndersonTorres ];
|
maintainers = [ maintainers.AndersonTorres ];
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user