This repository has been archived on 2026-01-16. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
agg/agg-generate-tarball.sh
Kevin Kofler a07f226782 - also remove include/agg_conv_gpc.h as it also carries a copy of the
non-Free GPC license (upstream also recommends removing that file under
    http://www.antigrain.com/license/index.html#toc0005) (#559611)
2010-01-29 04:58:27 +00:00

19 lines
415 B
Bash

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