WIP recipe for Gri. Gets farther than it did before, it needs TeX.

This commit is contained in:
Augustin Cavalier
2014-09-23 13:25:40 -04:00
parent ddc6224614
commit 842d468c4a

View File

@@ -0,0 +1,42 @@
SUMMARY="A graphics programming language."
DESCRIPTION="Gri is a language for scientific graphics programming. The word
'language' is important: Gri is command-driven, not point/click. Gri can make
x-y graphs, contour graphs, and image graphs, in PostScript and (someday) SVG
formats. Control is provided over all aspects of drawing, e.g. line widths,
colors, and fonts. A TeX-like syntax provides common mathematical symbols."
HOMEPAGE="http://gri.sourceforge.net/"
SRC_URI="http://downloads.sourceforge.net/project/gri/gri/2.12.23/gri-2.12.23.tar.gz?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fgri%2Ffiles%2F&ts=1356118794&use_mirror=ignum"
CHECKSUM_SHA256="a24e703f30250ed705c0a242aa59a24748259ea7355fca52152f367f45bfd2e7"
LICENSE="GNU GPL v1"
COPYRIGHT="2002-2011 Dan Kelley and Peter Galbraith"
REVISION="1"
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
PROVIDES="
gri = $portVersion
"
REQUIRES="
haiku >= $haikuVersion
"
BUILD_REQUIRES="
haiku_devel >= $haikuVersion
"
BUILD_PREREQUIRES="
cmd:gcc
cmd:make
cmd:ld
cmd:perl
devel:libreadline
"
BUILD()
{
runConfigure ./configure --enable-shared
make $jobArgs
}
INSTALL()
{
make install
addAppsDeskbarSymlink $appsDir/Gri
}