This library provides a simple and nice C++ wrapper around these libraries, so that programmers can concentrate on functionality. It offers general support for PCSC-lite, OpenSSL, PKCS#11, plus specific functionality for the SuisseID.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
1.2 KiB
27 lines
1.2 KiB
touch iostream && \ |
|
./bootstrap.sh && \ |
|
LDFLAGS="-L/usr/lib32 -L/usr/local/lib32 -m32" \ |
|
CXXFLAGS="-m32" \ |
|
CPPFLAGS="-include iostream -DCRYPTOKI_LOG\(X\)='std::clog<<"'"CRYPTOKI_"'"<<X<<"'"_@_"'"<<__PRETTY_FUNCTION__<<std::endl' -DPCSC_LOG\(X\)='std::clog<<"'"PCSC_"'"<<X<<"'"_@_"'"<<__PRETTY_FUNCTION__<<std::endl' -DOPENSSL_LOG\(X\)='std::clog<<"'"OPENSSL_"'"<<X<<"'"_@_"'"<<__PRETTY_FUNCTION__<<std::endl'" \ |
|
./configure \ |
|
--libdir=/usr/local/lib32 \ |
|
--build=x86_64 \ |
|
--host=i386 && \ |
|
make && \ |
|
sudo make install && \ |
|
make clean && \ |
|
LDFLAGS="-L/opt/local/i586-mingw32msvc/lib" \ |
|
CPPFLAGS="-I/opt/local/i586-mingw32msvc/include" \ |
|
./configure \ |
|
--prefix=/opt/local/i586-mingw32msvc \ |
|
--build=x86_64 \ |
|
--host=i586-mingw32msvc && \ |
|
make && \ |
|
sudo make install && \ |
|
make clean && \ |
|
CPPFLAGS="-include iostream -DCRYPTOKI_LOG\(X\)='std::clog<<"'"CRYPTOKI_"'"<<X<<"'"_@_"'"<<__PRETTY_FUNCTION__<<std::endl' -DPCSC_LOG\(X\)='std::clog<<"'"PCSC_"'"<<X<<"'"_@_"'"<<__PRETTY_FUNCTION__<<std::endl' -DOPENSSL_LOG\(X\)='std::clog<<"'"OPENSSL_"'"<<X<<"'"_@_"'"<<__PRETTY_FUNCTION__<<std::endl'" \ |
|
./configure && \ |
|
make check && \ |
|
sudo make install && \ |
|
rm iostream |
|
|
|
|