/usr/bin/libsixel-config is in libsixel-bin 1.5.2-2+b2.
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 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 | #!/bin/sh
#
# Author: Hayaki Saito, 2015
#
prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
include_dir=/usr/include/sixel
bindir=${exec_prefix}/bin
datadir=${prefix}/share
mandir=${prefix}/share/man
LANG=C; export LANG
LANGUAGE=C; export LANGUAGE
LC_ALL=C; export LC_ALL
LC_CTYPE=C; export LC_CTYPE
test $# = 0 && exec /bin/sh $0 --error
while test $# -gt 0; do
case "$1" in
# basic configuration
--prefix)
echo "$prefix"
;;
--exec-prefix)
echo "${exec_prefix}"
;;
# compile/link
--cflags)
echo "-I${include_dir}"
;;
--libs)
echo "-L${libdir} -lsixel"
;;
# identification
--version)
echo 1.5.0
;;
--abi-version)
echo 1:4:0 | tr : .
;;
# locations
--bindir)
echo "${bindir}"
;;
--datadir)
echo "${datadir}"
;;
--libdir)
echo "${libdir}"
;;
--mandir)
echo "${mandir}"
;;
# general info
--help)
cat <<ENDHELP
Usage: libsixel-config [options]
Options:
--prefix echos the package-prefix of libsixel
--exec-prefix echos the executable-prefix of libsixel
--cflags echos the C compiler flags needed to compile with libsixel
--libs echos the libraries needed to link with libsixel
--version echos the release+patchdate version of libsixel
--abi-version echos the ABI version of libsixel
--bindir echos the directory containing libsixel programs
--datadir echos the directory containing libsixel data
--libdir echos the directory containing libsixel libraries
--mandir echos the directory containing libsixel manpages
--help prints this message
ENDHELP
;;
--error|*)
/bin/sh $0 --help 1>&2
exit 1
;;
esac
shift
done
|