void-packages/srcpkgs/CImg/template
2019-10-12 10:32:29 +02:00

21 lines
668 B
Bash

# Template file for 'CImg'
pkgname=CImg
version=2.7.4
revision=1
archs=noarch
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://framagit.org/dtschump/CImg/-/archive/v.${version}/CImg-v.${version}.tar.bz2"
checksum=f2897f26b20095a1f826c7f4baa9224a9a13727d4de93acd8f3fbe559214307a
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
}