2010-07-11 01:24:21 +00:00
|
|
|
#! /bin/sh
|
|
|
|
|
|
|
|
version=$1
|
|
|
|
|
|
|
|
[ -z $version ] && exit 1
|
|
|
|
|
|
|
|
dir=matplotlib-${version}
|
|
|
|
file=matplotlib-${version}.tar.gz
|
2013-08-02 08:31:00 +00:00
|
|
|
result=matplotlib-${version}-without-gpc.tar.xz
|
2010-07-11 01:24:21 +00:00
|
|
|
|
2011-02-18 10:09:44 +00:00
|
|
|
wget -vc http://downloads.sourceforge.net/matplotlib/$file
|
|
|
|
|
2010-07-11 01:24:21 +00:00
|
|
|
rm -rf matplotlib-${version}
|
|
|
|
tar xzf $file
|
|
|
|
|
|
|
|
rm matplotlib-${version}/agg24/include/agg_conv_gpc.h
|
|
|
|
|
|
|
|
rm -f $result
|
2013-08-02 08:31:00 +00:00
|
|
|
tar cJf $result $dir
|