void-packages/srcpkgs/povray/template
2018-08-09 11:34:57 +02:00

37 lines
1.1 KiB
Bash

# Template file for 'povray'
pkgname=povray
version=3.7.0.7
revision=1
build_style=gnu-configure
_v=${version%.*.*}
conf_files="
/etc/povray/$_v/povray.conf
/etc/povray/$_v/povray.ini"
nocross="Builds fail on ARM architectures, while on x86_64-musl it: (1) fails
to build or (2) if patched to make it build correctly it segfaults on startup.
Logs are at https://travis-ci.org/void-linux/void-packages/builds/412583835."
configure_args="COMPILED_BY=Void"
hostmakedepends="git autoconf automake"
makedepends="boost-devel libpng-devel tiff-devel SDL-devel"
depends="openexr"
short_desc="Script-based raytracer for 3D graphic production"
maintainer="Brenton Horne <brentonhorne77@gmail.com>"
license="AGPL-3.0-or-later"
homepage="http://povray.org/"
distfiles="https://github.com/POV-Ray/povray/archive/v${version}.tar.gz"
checksum=085746e891edbb2cfda22bb2a8b86043bd680a68ad9121bc568118c730ace7b9
case $XBPS_TARGET_MACHINE in
*-musl) broken="segfaults on start";;
esac
pre_configure() {
cd $wrksrc/unix
./prebuild.sh
cd ..
./bootstrap
}
post_install() {
vlicense LICENSE
}