2006-02-23 16:26:10 +01:00
|
|
|
# Description: GNUPlot, a graph plotting software
|
2021-06-04 12:23:51 +02:00
|
|
|
# URL: http://www.gnuplot.info/
|
|
|
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
2023-09-07 19:35:08 +02:00
|
|
|
# Depends on: pango
|
2023-09-08 11:58:13 +02:00
|
|
|
# Optional: libgd lua qt5 (qt6-5compat qt6-tools qt6-svg)
|
2006-02-23 16:26:10 +01:00
|
|
|
|
|
|
|
name=gnuplot
|
2023-09-07 19:35:08 +02:00
|
|
|
version=5.4.9
|
2023-09-08 11:58:13 +02:00
|
|
|
release=2
|
2023-09-07 19:35:08 +02:00
|
|
|
source=(https://downloads.sourceforge.net/project/$name/$name/$version/$name-$version.tar.gz
|
|
|
|
qt6.patch)
|
2006-02-23 16:26:10 +01:00
|
|
|
|
|
|
|
build() {
|
2021-06-04 12:23:51 +02:00
|
|
|
cd $name-$version
|
2023-09-07 19:35:08 +02:00
|
|
|
|
|
|
|
patch -p0 -i $SRC/qt6.patch
|
|
|
|
|
2023-09-08 11:58:13 +02:00
|
|
|
prt-get isinst qt5 && PKGMK_GNUPLOT='--with-qt=qt5'
|
|
|
|
prt-get isinst qt6-5compat qt6-tools qt6-svg && PKGMK_GNUPLOT='--with-qt=qt6'
|
|
|
|
|
2023-09-07 19:35:08 +02:00
|
|
|
autoconf
|
2023-09-08 11:58:13 +02:00
|
|
|
./configure $PKGMK_GNUPLOT \
|
2021-06-04 12:23:51 +02:00
|
|
|
--prefix=/usr \
|
2023-09-07 19:35:08 +02:00
|
|
|
--libexecdir=/usr/lib
|
2021-06-04 12:23:51 +02:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2023-09-07 19:35:08 +02:00
|
|
|
|
2021-06-04 12:23:51 +02:00
|
|
|
rm $PKG/usr/share/gnuplot/${version%.*}/js/README
|
2006-02-23 16:26:10 +01:00
|
|
|
}
|