mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-08 21:00:05 +02:00
gnuplot: add recipe for version 5.2.0.
This commit is contained in:
76
sci-visualization/gnuplot/gnuplot-5.2.0.recipe
Normal file
76
sci-visualization/gnuplot/gnuplot-5.2.0.recipe
Normal file
@@ -0,0 +1,76 @@
|
||||
SUMMARY="Command-line driven graphing utility"
|
||||
DESCRIPTION="Originally created to allow both students and scientists to \
|
||||
visualize mathematical functions and data interactively, but has grown to \
|
||||
support many non-interactive uses such as web scripting. It is also used \
|
||||
as a plotting engine by third-party applications like Octave."
|
||||
HOMEPAGE="http://www.gnuplot.info"
|
||||
COPYRIGHT="1986 - 1993, 1998, 2004 Thomas Williams, Colin Kelley"
|
||||
LICENSE="Gnuplot"
|
||||
REVISION="1"
|
||||
SOURCE_URI="http://downloads.sourceforge.net/gnuplot/gnuplot-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="7dfe6425a1a6b9349b1fb42dae46b2e52833b13e807a78a613024d6a99541e43"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 ?x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="?x86"
|
||||
|
||||
PROVIDES="
|
||||
gnuplot$secondaryArchSuffix = $portVersion
|
||||
cmd:gnuplot$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku${secondaryArchSuffix}
|
||||
lib:libfontconfig$secondaryArchSuffix
|
||||
lib:libfreetype$secondaryArchSuffix
|
||||
lib:libgd$secondaryArchSuffix
|
||||
lib:libiconv$secondaryArchSuffix
|
||||
lib:libjpeg$secondaryArchSuffix
|
||||
lib:libncurses$secondaryArchSuffix
|
||||
lib:libpng16$secondaryArchSuffix
|
||||
lib:libreadline$secondaryArchSuffix
|
||||
lib:libtiff$secondaryArchSuffix
|
||||
lib:libvpx$secondaryArchSuffix
|
||||
lib:libz$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libcairo$secondaryArchSuffix
|
||||
# devel:libcerf$secondaryArchSuffix
|
||||
devel:libgd$secondaryArchSuffix
|
||||
devel:libjpeg$secondaryArchSuffix
|
||||
# devel:libpango_1.0$secondaryArchSuffix
|
||||
devel:libreadline$secondaryArchSuffix
|
||||
devel:libvpx$secondaryArchSuffix
|
||||
devel:libz$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:aclocal
|
||||
cmd:automake
|
||||
cmd:autoconf
|
||||
cmd:awk
|
||||
cmd:cmp
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:gdlib_config$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PATCH()
|
||||
{
|
||||
sed -i 's/-rdynamic/-Wl,-export-dynamic/g' demo/plugin/Makefile.am
|
||||
sed -i 's/isnan/std::isnan/g' src/qtterminal/qt_conversion.cpp
|
||||
}
|
||||
|
||||
BUILD()
|
||||
{
|
||||
aclocal
|
||||
automake
|
||||
runConfigure ./configure --without-cairo
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install-strip
|
||||
}
|
||||
Reference in New Issue
Block a user