Skip to content

Commit

Permalink
New package: tachyon-0.99~b6+dsx
Browse files Browse the repository at this point in the history
  • Loading branch information
tornaria authored and leahneukirchen committed Nov 22, 2021
1 parent fe77279 commit 06c0597
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions srcpkgs/tachyon/template
Original file line number Diff line number Diff line change
@@ -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
}

0 comments on commit 06c0597

Please sign in to comment.