if i didn't pass the line LIBS+="-lm" i obtain this error during building
../lib/.libs/liba2ps.so: undefined reference to `atan2'
the modified lines are:

configure_args="--sysconfdir=/etc/a2ps --enable-shared --with-medium=A4"

and do_configure 

pre_configure() {
     sed -i "s/GPERF --version |/& head -n 1 |/" ./configure
     sed -i "s|/usr/local/share|/usr/share|" ./configure 
}