Created
June 30, 2010 21:27
-
-
Save anonymous/459247 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Gergely Imreh <imrehgATgmailDOTcom> | |
# Contributor: Eric Belanger <eric@archlinux.org> | |
pkgname=plplot | |
pkgver=5.9.6 | |
pkgrel=1 | |
pkgdesc="A cross-platform software package for creating scientific plots" | |
arch=('i686' 'x86_64') | |
url="http://plplot.sourceforge.net/" | |
license=("LGPL" "custom") | |
depends=('libtool' 'tk') | |
makedepends=('cmake') | |
optdepends=('qhull: calculating convex hulls' | |
'agg: high quality rendering engine in C++' | |
'swig: connects Plplot C library to Python, Java and Lua' | |
'gd: ability to output png, jpeg and gif files' | |
'qt: display plots, output various formats using the Qt UI framework' | |
'wxgtk: displays plots using wxWidgets library' | |
'freetype2: enables use of ttf fonts for some drivers' | |
'ttf-freefont: enables use of ttf fonts for some drivers' | |
'cairo: displays plots and save to different file formats') | |
options=('!libtool' '!makeflags') | |
source=(http://downloads.sourceforge.net/sourceforge/plplot/${pkgname}-${pkgver}.tar.gz) | |
build() { | |
cd ${srcdir}/${pkgname}-${pkgver} | |
cmake -DCMAKE_INSTALL_PREFIX=/usr -DENABLE_octave=off -DENABLE_tcl=ON -DENABLE_tk=ON \ | |
-DPL_FREETYPE_FONT_PATH=/usr/share/fonts/TTF || return 1 | |
make || return 1 | |
make DESTDIR=${pkgdir} install | |
install -D -m644 Copyright ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE | |
} | |
md5sums=('772c772bde3a107e5f06d21cefa7f6b6') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment