void-packages/srcpkgs/gnuplot/template

21 lines
634 B
Plaintext
Raw Normal View History

2014-03-13 20:17:29 +01:00
# Template file for 'gnuplot'
2014-03-13 20:01:44 +01:00
pkgname="gnuplot"
version="4.6.6"
2014-03-13 20:01:44 +01:00
revision=1
build_style=gnu-configure
short_desc="portable command-line driven graphing utility"
maintainer="Eivind Uggedal <eivind@uggedal.com>"
2014-03-13 20:01:44 +01:00
license="GPL"
homepage="http://www.gnuplot.info/"
makedepends="libX11-devel gd-devel"
distfiles="${SOURCEFORGE_SITE}/gnuplot/gnuplot/${version}/gnuplot-${version}.tar.gz"
update_ignore="*rc*"
checksum=1f19596fd09045f22225afbfec11fa91b9ad1d95b9f48406362f517d4f130274
pre_configure() {
if [ "$CROSS_BUILD" ]; then
sed -i 's|^\(SUBDIRS =.*\)demo |\1|' Makefile.in
sed -i 's|^\(CFLAGS =\).*|\1 -O0|' docs/Makefile.in
fi
}