mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 13:20:08 +02:00
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has, is transformed into "all", and then the other entries in ARCHITECTURES either dropped or rearranged appropriately.
49 lines
1.1 KiB
Bash
49 lines
1.1 KiB
Bash
SUMMARY="Plots an abitrary number of functions in parameter form"
|
|
DESCRIPTION="The graph can be saved to a file as a bitmap, can be printed out \
|
|
to a printer and can be copied to the clipboard.
|
|
|
|
Includes a small functional programming language to define constants and \
|
|
functions."
|
|
HOMEPAGE="https://github.com/HaikuArchives/FunctionPlotter"
|
|
COPYRIGHT="2000 Michael Pfeiffer"
|
|
LICENSE="GNU GPL v2"
|
|
REVISION="1"
|
|
srcGitRev="571951244bfc6a5bad871c5fccab87b6a3ca7efd"
|
|
SOURCE_URI="https://github.com/HaikuArchives/FunctionPlotter/archive/$srcGitRev.tar.gz"
|
|
CHECKSUM_SHA256="3f6c420e1348985e3ecc410b287cd982daa00489f8f69733ffb93936c5499c08"
|
|
SOURCE_FILENAME="FunctionPlotter-$portVersion-$srcGitRev.tar.gz"
|
|
SOURCE_DIR="FunctionPlotter-$srcGitRev"
|
|
|
|
ARCHITECTURES="?all x86_gcc2"
|
|
|
|
PROVIDES="
|
|
functionplotter = $portVersion
|
|
app:FunctionPlotter = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
makefile_engine
|
|
cmd:g++
|
|
cmd:make
|
|
cmd:xres
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
make $jobArgs -C src
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
mkdir -p "$appsDir"
|
|
cp ./src/FunctionPlotter "$appsDir"
|
|
|
|
addAppDeskbarSymlink "$appsDir"/FunctionPlotter
|
|
}
|