void-packages/srcpkgs/CImg/template
2020-10-30 15:21:07 -05:00

20 lines
632 B
Bash

# Template file for 'CImg'
pkgname=CImg
version=2.9.2
revision=1
wrksrc="CImg-v.${version}"
depends="libgraphicsmagick-devel fftw-devel"
short_desc="Open-source C++ toolkit for image processing"
maintainer="Robert Lowry <bobertlo@gmail.com>"
license="CECILL-2.0, CECILL-C"
homepage="http://cimg.eu"
distfiles="https://github.com/dtschump/CImg/archive/v.${version}.tar.gz"
checksum=dffb0a78388d032eae8d6695afb58bc0429feaf7818b341e1926bb72ba6b6d0f
do_install() {
vlicense Licence_CeCILL_V2-en.txt
vlicense Licence_CeCILL-C_V1-en.txt
vinstall CImg.h 644 usr/include
vmkdir usr/include/CImg
vcopy "plugins/*.h" usr/include/CImg
}