~ubuntu-branches/ubuntu/lucid/openvpn/lucid

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Chuck Short
  • Date: 2008-02-12 07:48:51 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20080212074851-afz17m450vq8fuwd
Tags: 2.1~rc7-1ubuntu1
* New upstream version (LP: #157144).
* Disable creation of tun, let udev handle it.

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
 
3
 
 
4
PKCS11_HELPER_DIR=`pwd`/pkcs11-helper
 
5
rm -rf $PKCS11_HELPER_DIR
 
6
mkdir $PKCS11_HELPER_DIR
 
7
tbz=$F.tar.bz2
 
8
 
 
9
rm -rf $F
 
10
tar xfj $tbz
 
11
 
 
12
cd $F
 
13
./configure \
 
14
        MAN2HTML=true \
 
15
        ac_cv_type_size_t=no \
 
16
        --disable-crypto-engine-gnutls \
 
17
        --disable-crypto-engine-nss \
 
18
        PKG_CONFIG=true \
 
19
        OPENSSL_CFLAGS="-I${OPENSSL_DIR}/include" \
 
20
        OPENSSL_LIBS="-L${OPENSSL_DIR}/out -lcrypto"
 
21
 
 
22
make
 
23
make install DESTDIR="${PKCS11_HELPER_DIR}"