Merge pull request #215 from kusma/use-upgraded-openssl
[msysgit.git] / src / hd2u / release.sh
blob0ca2d3343c3ef1471c989934009776067263d08c
1 #!/bin/sh
3 cd "$(dirname "$0")"
5 URL=http://hany.sk/~hany/_data/hd2u
6 TAR=hd2u-1.0.3.tgz
7 DIR=hd2u-1.0.3
9 if test ! -f $TAR
10 then
11 curl $URL/$TAR > $TAR
12 fi &&
13 if test ! -d $DIR
14 then
15 tar xzvf $TAR
16 fi &&
17 (cd $DIR &&
18 git init &&
19 git add . &&
20 git commit -n -m initial &&
21 git am ../patches/* &&
22 ./configure --prefix=/mingw &&
23 make &&
24 index=$(/share/msysGit/pre-install.sh) &&
25 make install &&
26 /share/msysGit/post-install.sh $INDEX Install $DIR