2006-02-23 15:26:10 +00:00
|
|
|
# Description: GNUPlot, a graph plotting software
|
2024-02-27 16:21:08 +01:00
|
|
|
# URL: https://gnuplot.sourceforge.net/
|
2021-06-04 12:23:51 +02:00
|
|
|
# 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 15:26:10 +00:00
|
|
|
|
|
|
|
name=gnuplot
|
2023-12-30 12:08:11 +01:00
|
|
|
version=6.0.0
|
2023-10-21 13:39:39 +02:00
|
|
|
release=1
|
|
|
|
source=(https://downloads.sourceforge.net/project/$name/$name/$version/$name-$version.tar.gz)
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
build() {
|
2021-06-04 12:23:51 +02:00
|
|
|
cd $name-$version
|
2023-09-07 19:35:08 +02:00
|
|
|
|
2023-09-12 09:29:00 +02:00
|
|
|
PKGMK_GNUPLOT='--with-qt=no'
|
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'
|
|
|
|
|
|
|
|
./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
|
2023-12-30 12:08:11 +01:00
|
|
|
rm -rf $PKG/usr/share/gnuplot/${version%.*}/qt
|
|
|
|
rm -r $PKG/usr/share/man/ja
|
2006-02-23 15:26:10 +00:00
|
|
|
}
|