/usr/bin/get-wraster-flags is in libwraster3-dev 0.95.5-2ubuntu1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | #!/bin/sh
WCFLAGS="-I/usr/include "
WLFLAGS="-L/usr/lib "
WLIBS="-lwraster -ltiff -lXpm -lpng -ljpeg -lgif -lXext -lXext -lX11 -lm"
usage="Usage: get-wraster-flags [--cflags] [--ldflags] [--libs]"
if test $# -eq 0; then
echo "${usage}" 1>&2
exit 1
fi
while test $# -gt 0; do
case $1 in
--cflags)
echo $WCFLAGS
;;
--ldflags|--lflags)
echo $WLFLAGS
;;
--libs)
echo $WLIBS
;;
*)
echo "${usage}" 1>&2
exit 1
;;
esac
shift
done
|