251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
|
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
|
-
+
|
patch -p1 < "${patchFile}" || exit 1
done
cp "${cackeyChromeExtCCIDDir}/include/Info.plist.h" src/ || exit 1
extraDefines='-DPCSCLITE_STATIC_DRIVER -DIFDHANDLERv3'
./configure --prefix='' --sbindir="/bin" "${configure_extra[@]}" CFLAGS="-g3 -ggdb3 ${CFLAGS} ${extraDefines}" CPPFLAGS="${CPPFLAGS} ${extraDefines}" LIBS="${LIBS} -L${cackeyChromeExtCCIDDir}/lib -lccid" || exit 1
./configure --prefix='' --sbindir="/bin" "${configure_extra[@]}" CFLAGS="${CFLAGS} ${extraDefines}" CPPFLAGS="${CPPFLAGS} ${extraDefines}" LIBS="${LIBS} -L${cackeyChromeExtCCIDDir}/lib -lccid" || exit 1
make V=1 || exit 1
make V=1 DESTDIR="${instdir}" install || exit 1
) || return 1
rm -rf "${cackeyChromeExtLibUSBDir}"
unset LIBUSB_LIBS LIBUSB_CFLAGS
|