void-packages/srcpkgs/simage/template

29 lines
838 B
Bash

# Template file for 'simage'
pkgname=simage
version=1.8.3
revision=2
build_style=cmake
makedepends="libjpeg-turbo-devel libpng-devel tiff-devel jasper-devel
libsndfile-devel libvorbis-devel giflib-devel"
short_desc="Library with image format loaders for image files as texture"
maintainer="yopito <pierre.bourgin@free.fr>"
license="0BSD"
homepage="https://github.com/coin3d/simage"
distfiles="https://github.com/coin3d/simage/releases/download/v${version}/simage-${version}-src.tar.gz"
checksum=ffc0d5a00b74d1e15655ad195bd535f0c0828c9d0f464c1ea4167799c79f6fe7
post_install() {
vlicense LICENSE
}
simage-devel_package() {
short_desc+=" - development files"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
vmove /usr/lib/pkgconfig
}
}