262
263
264
265
266
267
268
269
270
271
272
273
274
275
|
cackeyChromeExtPCSCLiteDir="$(cd "${instdir}" && pwd)"
export PCSC_CFLAGS="-I${cackeyChromeExtPCSCLiteDir}/include/PCSC"
export PCSC_LIBS="-L${cackeyChromeExtPCSCLiteDir}/lib -lpcsclite -pthread"
cp "${cackeyChromeExtPCSCLiteDir}/bin/pcscd" "${outdir}" || return 1
return 0
}
function buildCACKey() {
local file copied
(
|
>
>
>
|
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
|
cackeyChromeExtPCSCLiteDir="$(cd "${instdir}" && pwd)"
export PCSC_CFLAGS="-I${cackeyChromeExtPCSCLiteDir}/include/PCSC"
export PCSC_LIBS="-L${cackeyChromeExtPCSCLiteDir}/lib -lpcsclite -pthread"
cp "${cackeyChromeExtPCSCLiteDir}/bin/pcscd" "${outdir}" || return 1
mkdir "${outdir}/include" || return 1
cp "${cackeyChromeExtPCSCLiteDir}/include/PCSC"/*.h "${outdir}/include" || return 1
return 0
}
function buildCACKey() {
local file copied
(
|