redo-ifchange ../conf/prefix ../conf/version
read PREFIX <../conf/prefix
read VERSION <../conf/version
perl -npe "s/ +/ /g ; s/ +$//" <<EOF
prefix=$PREFIX
exec_prefix=\${prefix}
includedir=\${prefix}/include
libdir=\${exec_prefix}/lib

Name: keks
Description: KEKS codec
Version: $VERSION
Requires:
Cflags: -I\${includedir}
Libs: -L\${libdir} -lkeks
EOF

