/usr/bin/chipcard-config is in libchipcard-dev 5.0.4-1+b1.
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 | #! /bin/sh
prefix="/usr"
# $Id: chipcard-client-config.in.in 217 2006-09-08 02:37:16Z martin $
# Author of this file: Martin Preuss<martin@libchipcard.de>
prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
datarootdir=${prefix}/share
datadir=${datarootdir}
result=""
for d in $*; do
case $d in
--includes)
result="$result -I${prefix}/include/libchipcard5 -I/usr/include/gwenhywfar4"
;;
--client-libs)
result="$result -L${libdir} -lchipcard"
;;
--vmajor)
result="$result 5"
;;
--vminor)
result="$result 0"
;;
--vpatchlevel)
result="$result 4"
;;
--vbuild)
result="$result 0"
;;
--vtag)
result="$result stable"
;;
--vstring)
result="$result 5.0.4"
;;
--client-datadir)
result="$result ${datadir}/chipcard"
;;
--server-datadir)
result="$result @lc_server_data_dir@"
;;
--driverdir)
result="$result @lc_server_driver_dir@"
;;
--servicedir)
result="$result @lc_server_service_dir@"
;;
*)
echo "Usage:"
echo "$0 --includes gives you the include flags"
echo "$0 --client-libs gives the client library flags"
echo "$0 --vmajor gives the major version of LibChipcard"
echo "$0 --vminor gives the minor version of LibChipcard"
echo "$0 --vpatchlevel gives the patchlevel of LibChipcard"
echo "$0 --vbuild gives the build number of LibChipcard"
echo "$0 --vtag gives the tag of LibChipcard (cvs, beta or stable)"
echo "$0 --vstring returns a version string"
echo "$0 --client-datadir returns the data folder of the client"
echo "$0 --server-datadir returns the data folder of the server"
echo "$0 --driverdir returns the folder which contains drivers"
exit 1
;;
esac
done
echo $result
|