perl/release: use a pipe for md5sum
[msysgit.git] / src / perl / release.sh
blobe193fcdfc81433588e7b4dce23a7e67a2640cd68
1 #!/bin/sh
3 cd "$(dirname "$0")" ; . ../common/update-lib.sh
5 check_pristine
7 package=perl
8 url=ftp://ftp.funet.fi/pub/CPAN/src/5.0
9 version=5.8.8
10 md5='b8c118d4360846829beb30b02a6b91a7'
12 d=perl-$version
13 tar=$d.tar.gz
15 download
17 echo "Verifying md5 sum ..."
18 echo "$md5 *$tar" |
19 md5sum -c --status ||
20 exit
22 extract
24 apply_patches
26 MSYSTEM=MSYS
27 export MSYSTEM
29 ( cd "$d" ; test -f config.sh || ./Configure -de ) || die "Configure failure"
31 compile
33 test -n != "$1" ||
34 die "DEBUG: aborting before install"
36 FILELIST=fileList.txt
37 pre_install
39 # TODO! why is msys-perl5_8.dll not installed properly?
40 (cd "$d"; LIB= make install ) || exit
42 post_install