mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-10 02:11:44 +01:00
Please do not re-introduce the 6 aports that have been removed from testing/ in this commit.
54 lines
1.1 KiB
Plaintext
54 lines
1.1 KiB
Plaintext
# Contributor: prspkt <prspkt@protonmail.com>
|
|
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
# Contributor: Celeste <cielesti@protonmail.com>
|
|
# Maintainer:
|
|
pkgname=gnuplot
|
|
pkgver=6.0.4
|
|
pkgrel=1
|
|
pkgdesc="Utility for plotting graphs"
|
|
url="https://gnuplot.sourceforge.net/"
|
|
arch="all"
|
|
license="MIT"
|
|
_luaver=5.5
|
|
makedepends="
|
|
cairo-dev
|
|
gd-dev
|
|
libcerf-dev
|
|
libjpeg-turbo-dev
|
|
libpng-dev
|
|
lua$_luaver-dev
|
|
pango-dev
|
|
readline-dev
|
|
"
|
|
subpackages="$pkgname-doc"
|
|
source="https://downloads.sourceforge.net/sourceforge/gnuplot/gnuplot-$pkgver.tar.gz"
|
|
|
|
build() {
|
|
./configure \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--mandir=/usr/share/man \
|
|
--localstatedir=/var \
|
|
--enable-stats \
|
|
--disable-wxwidgets \
|
|
--without-qt
|
|
make
|
|
}
|
|
|
|
check() {
|
|
make GNUTERM=dumb check
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
install -Dm644 BUGS NEWS PGPKEYS README* \
|
|
-t "$pkgdir"/usr/share/doc/$pkgname/
|
|
install -Dm644 Copyright \
|
|
-t "$pkgdir"/usr/share/licenses/$pkgname/
|
|
}
|
|
|
|
sha512sums="
|
|
086e109cc040c0b9ebedded17d551c2758629c13dc2a5bf950fe129c8c0dec38b01a3d1e89a8f138f7b0bedccb68996676ab2ff9e9f53aebea8e8d0c0ce98a75 gnuplot-6.0.4.tar.gz
|
|
"
|