New package: tachyon-0.99~b6+dsx

This commit is contained in:
Gonzalo Tornaría 2021-11-22 00:16:52 -03:00 committed by Leah Neukirchen
parent fe77279b3c
commit 06c0597607

28
srcpkgs/tachyon/template Normal file
View file

@ -0,0 +1,28 @@
# Template file for 'tachyon'
pkgname=tachyon
version=0.99~b6+dsx
revision=1
wrksrc=${pkgname}-${version}.orig
build_wrksrc=unix
build_style=gnu-makefile
make_build_target=all
makedepends="libpng-devel libjpeg-turbo-devel"
short_desc="Multithreaded ray tracing software"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="BSD-3-Clause"
homepage="http://jedi.ks.uiuc.edu/~johns/raytracer/"
distfiles="${DEBIAN_SITE}/main/t/tachyon/tachyon_${version}.orig.tar.xz"
checksum=ec90074f569d6d797576611527caa6b1aac96125aea1ec89a31b2867f1cdf7ff
pre_build() {
export LIBS+=" -ltachyon -ljpeg -lpng -lm -lpthread"
CFLAGS+=" -Wno-unused-result -DUSEPNG -DUSEJPEG"
CFLAGS+=" -DLinux -DTHR -DUSEATOMICBARRIERS -D_REENTRANT"
}
do_install() {
vlicense ../Copyright
vbin ../compile/tachyon
vmkdir usr/share/tachyon
vcopy ../scenes usr/share/tachyon
}