mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 21:30:08 +02:00
92 lines
2.6 KiB
Bash
92 lines
2.6 KiB
Bash
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="2"
|
|
SOURCE_URI="http://downloads.sourceforge.net/gnuplot/gnuplot-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="5bbe4713e555c2e103b7d4ffd45fca69551fff09cf5c3f9cb17428aaacc9b460"
|
|
|
|
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:libGL$secondaryArchSuffix
|
|
lib:libiconv$secondaryArchSuffix
|
|
lib:libjpeg$secondaryArchSuffix
|
|
lib:libncurses$secondaryArchSuffix
|
|
lib:libpng16$secondaryArchSuffix
|
|
lib:libQt5Core$secondaryArchSuffix
|
|
lib:libQt5Gui$secondaryArchSuffix
|
|
lib:libQt5Network$secondaryArchSuffix
|
|
lib:libQt5PrintSupport$secondaryArchSuffix
|
|
lib:libQt5Svg$secondaryArchSuffix
|
|
lib:libQt5Widgets$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:libGL$secondaryArchSuffix
|
|
devel:libgd$secondaryArchSuffix
|
|
devel:libjpeg$secondaryArchSuffix
|
|
# devel:libpango_1.0$secondaryArchSuffix
|
|
devel:libQt5Core$secondaryArchSuffix
|
|
devel:libQt5Gui$secondaryArchSuffix
|
|
devel:libQt5Network$secondaryArchSuffix
|
|
devel:libQt5PrintSupport$secondaryArchSuffix
|
|
devel:libQt5Svg$secondaryArchSuffix
|
|
devel:libQt5Widgets$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()
|
|
{
|
|
export CXXFLAGS="-std=c++11"
|
|
aclocal
|
|
automake
|
|
runConfigure ./configure --without-cairo --with-qt
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install-strip
|
|
}
|