Biber prerequisites: WIP
[git/cygwin-packages/biber.git] / prereqs0_do_twice / build.sh
1 #! /bin/bash
2
3 SYSARCH=$(uname -m)
4
5 mods="
6 perl-Archive-Zip
7 perl-YAML-LibYAML
8 perl-Module-Build
9 perl-PAR-Dist
10 perl-SUPER
11 perl-Sub-Identify
12 perl-inc-latest
13 perl-Test-MockModule
14 perl-List-MoreUtils
15 perl-Exporter-Tiny
16 perl-List-MoreUtils-XS
17 "
18
19 rm -f build_failures.txt
20 rm -f test_failures.txt
21 touch build_failures.txt
22 touch test_failures.txt
23 exit_status=0
24 for m in $mods
25 do
26 mv -f ${m}* ${m}
27 cd ${m}
28 eval $(grep ^NAME *.cygport)
29 eval $(grep ^VERSION *.cygport)
30 eval $(grep ^RELEASE *.cygport)
31 ARCH=${SYSARCH}
32 eval $(grep ^ARCH *.cygport)
33 PVR=${NAME}-${VERSION}-${RELEASE}
34 mv -f ${PVR}.cygport ${NAME}.cygport
35 if [ -f ${NAME}-${VERSION}-${RELEASE}.src.patch ]
36 then
37 mv ${NAME}-${VERSION}-${RELEASE}.src.patch achim.patch
38 echo 'PATCH_URI="achim.patch"' >> ${NAME}.cygport
39 fi
40 if [ ${RELEASE} = 1 ]
41 then
42 sed -i -e 's/RELEASE=1/RELEASE=2' ${NAME}.cygport
43 fi
44 echo "Building $m..."
45 if cygport ${NAME}.cygport all
46 then
47 cygport ${NAME}.cygport test || echo $m >> ../test_failures.txt
48 if [ ${SYSARCH} = x86_64 ]
49 then
50 cp -alf $
51 else
52 DEST_ARCH=${ARCH}
53 fi
54 cp -alf
55
56
57
58 exit_status=1
59 echo $m >> ../build_failures.txt
60
61
62
This page took 0.034755 seconds and 5 git commands to generate.