New package: tachyon-0.99~b6+dsx
This commit is contained in:
parent
fe77279b3c
commit
06c0597607
|
@ -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
|
||||||
|
}
|
Loading…
Reference in New Issue