summaryrefslogtreecommitdiff
path: root/install-win32/build-pkcs11-helper.sh
diff options
context:
space:
mode:
authorAlberto Gonzalez Iniesta <agi@inittab.org>2012-02-21 15:53:40 +0100
committerAlberto Gonzalez Iniesta <agi@inittab.org>2012-02-21 15:53:40 +0100
commit349cfa7acb95abe865209a28e417ec74b56f9bba (patch)
treead65334821b587c4ecdd461be84c94305ffdb888 /install-win32/build-pkcs11-helper.sh
Imported Upstream version 2.2.1upstream/2.2.1
Diffstat (limited to 'install-win32/build-pkcs11-helper.sh')
-rw-r--r--install-win32/build-pkcs11-helper.sh24
1 files changed, 24 insertions, 0 deletions
diff --git a/install-win32/build-pkcs11-helper.sh b/install-win32/build-pkcs11-helper.sh
new file mode 100644
index 0000000..fd336df
--- /dev/null
+++ b/install-win32/build-pkcs11-helper.sh
@@ -0,0 +1,24 @@
+F=pkcs11-helper-1.06-beta1
+OPENSSL_DIR=`pwd`/openssl-0.9.8h
+
+PKCS11_HELPER_DIR=`pwd`/pkcs11-helper
+rm -rf $PKCS11_HELPER_DIR
+mkdir $PKCS11_HELPER_DIR
+tbz=$F.tar.bz2
+
+rm -rf $F
+tar xfj $tbz
+
+cd $F
+./configure \
+ MAN2HTML=true \
+ --disable-crypto-engine-gnutls \
+ --disable-crypto-engine-nss \
+ PKG_CONFIG=true \
+ OPENSSL_CFLAGS="-I${OPENSSL_DIR}/include" \
+ OPENSSL_LIBS="-L${OPENSSL_DIR}/out -leay32"
+
+make
+make install DESTDIR="${PKCS11_HELPER_DIR}"
+
+# ./configure doesn't need this any more: ac_cv_type_size_t=no