~smoser/ubuntu/oneiric/openvpn/lp-794916

« back to all changes in this revision

Viewing changes to install-win32/build-pkcs11-helper.sh

  • Committer: Bazaar Package Importer
  • Author(s): Alberto Gonzalez Iniesta
  • Date: 2008-07-23 10:38:13 UTC
  • mfrom: (1.1.9 upstream)
  • Revision ID: james.westby@ubuntu.com-20080723103813-axq5wohvwjr4jo0s
Tags: 2.1~rc8-1
* New upstream version
* Added Build-dep on libpkcs11-helper1 to re-enable PKCS#11
  support. Sorry for the delay Florian :) (Closes: #475353)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
F=pkcs11-helper-1.05
2
 
OPENSSL_DIR=`pwd`/openssl-0.9.7m
 
1
F=pkcs11-helper-1.06-beta1
 
2
OPENSSL_DIR=`pwd`/openssl-0.9.8h
3
3
 
4
4
PKCS11_HELPER_DIR=`pwd`/pkcs11-helper
5
5
rm -rf $PKCS11_HELPER_DIR
12
12
cd $F
13
13
./configure \
14
14
        MAN2HTML=true \
15
 
        ac_cv_type_size_t=no \
16
15
        --disable-crypto-engine-gnutls \
17
16
        --disable-crypto-engine-nss \
18
17
        PKG_CONFIG=true \
19
18
        OPENSSL_CFLAGS="-I${OPENSSL_DIR}/include" \
20
 
        OPENSSL_LIBS="-L${OPENSSL_DIR}/out -lcrypto"
 
19
        OPENSSL_LIBS="-L${OPENSSL_DIR}/out -leay32"
21
20
 
22
21
make
23
22
make install DESTDIR="${PKCS11_HELPER_DIR}"
 
23
 
 
24
# ./configure doesn't need this any more: ac_cv_type_size_t=no