~ubuntu-branches/ubuntu/karmic/openvpn/karmic

« back to all changes in this revision

Viewing changes to install-win32/getpkcs11helper

  • 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
#!/bin/sh
 
2
 
 
3
# get version.nsi definitions
 
4
. autodefs/defs.sh
 
5
 
 
6
# Get PKCS11-helper libraries
 
7
if [ -d "$PKCS11_HELPER_DIR" ] ; then
 
8
    mkdir -p $GENOUT/lib &>/dev/null    
 
9
    for f in libpkcs11-helper-1.dll ; do
 
10
        cp $PKCS11_HELPER_DIR/usr/local/bin/$f $GENOUT/lib
 
11
        if [ -z "$NO_STRIP" ]; then
 
12
            strip $GENOUT/lib/$f
 
13
        fi
 
14
    done
 
15
else
 
16
    echo PKCS11-helper DIR $PKCS11_HELPER_DIR NOT FOUND
 
17
fi