Blame SOURCES/agg-generate-tarball.sh

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