void-packages/srcpkgs/simage/template

29 lines
838 B
Bash

# Template file for 'simage'
pkgname=simage
version=1.8.1
revision=1
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=a0b85ffa14cc03dcd5e4918dac8982a280df229f7e5758d1c28281920e9f8e74
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
}
}