mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-31 11:21:17 +02:00
43 lines
1.1 KiB
Plaintext
43 lines
1.1 KiB
Plaintext
# Contributor: William Pitcock <nenolod@dereferenced.org>
|
|
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
pkgname=gnuplot
|
|
pkgver=5.2.3
|
|
pkgrel=0
|
|
pkgdesc="Utility for plotting graphs"
|
|
url="http://www.gnuplot.info/"
|
|
arch="all"
|
|
license="MIT"
|
|
makedepends="cairo-dev pango-dev gd-dev lua5.3-dev readline-dev
|
|
libpng-dev libjpeg-turbo-dev"
|
|
subpackages="$pkgname-doc"
|
|
source="http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz"
|
|
builddir="$srcdir/$pkgname-$pkgver"
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
./configure \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--mandir=/usr/share/man \
|
|
--localstatedir=/var \
|
|
--enable-stats \
|
|
--disable-wxwidgets \
|
|
--disable-qt
|
|
make
|
|
}
|
|
|
|
check() {
|
|
make GNUTERM=dumb -C "$builddir" check
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
mkdir -p "$pkgdir"/usr/share/doc/$pkgname/
|
|
install -m644 BUGS ChangeLog NEWS PGPKEYS README* \
|
|
"$pkgdir"/usr/share/doc/$pkgname/
|
|
}
|
|
|
|
sha512sums="940efc31377933cc32b6a35479580cea601924bc414c8ff807b7217e5439eb25db9c7b40db63868178bc345c932fb3a33eee79e5159d0c8458fd84d69682ffd8 gnuplot-5.2.3.tar.gz"
|