Blame SOURCES/agg-generate-tarball.sh

05012c
#! /bin/sh
05012c
05012c
version=$1
05012c
05012c
[ -z $version ] && exit 1
05012c
05012c
dir=agg-${version}
05012c
file=agg-${version}.tar.gz
05012c
result=agg-free-${version}.tar.gz
05012c
05012c
rm -rf agg-${version}
05012c
tar xzf $file
05012c
for file in copying.txt VERSIONS.TXT gpc.c gpc.h; do
05012c
   rm agg-${version}/gpc/$file
05012c
done
05012c
rm agg-${version}/include/agg_conv_gpc.h
05012c
sed -i -e 's/agg_conv_gpc\.h/              /g' agg-${version}/include/Makefile.am
05012c
rm -f $result
05012c
tar czf $result $dir