3 cd "$(dirname "$0")" && . ..
/common
/update-lib.sh
9 url
=http
://www.mirrorservice.org
/sites
/ftp.gnupg.org
/gcrypt
/gnupg
10 sha1
=9f2696f3b61cb771053db599e884952c80d2a6e7
18 git config core.autocrlf false
&&
20 git commit
-m "Import of $tar"
22 } || die
"Could not check out gnupg source"
24 test $
(cd $d && git rev-list HEAD |
wc -l) -gt 1 ||
25 (cd $d && git am ..
/patches
/*) ||
26 die
"Could not apply patches"
29 CFLAGS
='-O3 -m32 -march=pentium-m -mfpmath=sse' LDFLAGS
='-s' \
30 .
/configure
--prefix=/mingw
&&
32 index
=$
(/share
/msysGit
/pre-install.sh
) &&
34 mv /mingw
/libexec
/gnupg
/* /mingw
/bin
/ &&
35 rmdir /mingw
/libexec
/gnupg
&&
36 /share
/msysGit
/post-install.sh
$index "Install $tar"
37 ) || die
"Could not install $tar"