source: autobuild/.config @ 1157

Last change on this file since 1157 was 1157, checked in by moo, 2 years ago

use simple and stupid rules to download files

File size: 1.5 KB
RevLine 
[905]1#!/bin/sh
2# vim:syntax=sh
3
4snapshotCount=8
5
6setExtOutputDir() {
7    extOutputDir="$1"
8    snapshotOutputDir="$extOutputDir/snapshots"
9    releaseOutputDir="$extOutputDir/Releases"
10}
11
12topdir="$PWD"
13develDir="$topdir/php-devel"
14buildDir="$topdir/build"
15sourceDir="$topdir/php-src"
16scriptsDir="$topdir/scripts"
17
[1157]18mirror="cn2.php.net"
19phpFiles_foreach() {
20    local version
[905]21
[1157]22    for version in 5.4.8 5.3.18; do
23        $1 php-$version.tar.bz2 \
24            http://$mirror/get/php-$version.tar.bz2/from/$mirror/mirror \
25            "http://museum.php.net/php5/php-$version.tar.bz2"
26        $1 php-$version-nts-Win32-VC9-x86.zip http://windows.php.net/downloads/releases/php-$version-nts-Win32-VC9-x86.zip
27        $1 php-$version-Win32-VC9-x86.zip     http://windows.php.net/downloads/releases/php-$version-Win32-VC9-x86.zip
28    done
29
30    version=5.2.17
31    $1 php-$version.tar.bz2 \
32        http://$mirror/get/php-$version.tar.bz2/from/$mirror/mirror \
33        "http://museum.php.net/php5/php-$version.tar.bz2"
34    $1 php-$version-nts-Win32-VC6-x86.zip http://windows.php.net/downloads/releases/php-$version-nts-Win32-VC6-x86.zip
35    $1 php-$version-Win32-VC6-x86.zip     http://windows.php.net/downloads/releases/php-$version-Win32-VC6-x86.zip
36
37    version=5.1.6
38    $1 php-$version.tar.bz2 \
39        http://$mirror/get/php-$version.tar.bz2/from/$mirror/mirror \
40        "http://museum.php.net/php5/php-$version.tar.bz2"
41    $1 php-$version-Win32-VC6-x86.zip http://museum.php.net/php5/php-$version-Win32.zip
42}
43
44phpVersions=(5.1.6 5.2.17 5.3.18 5.4.8)
[905]45arches=(x86 x64)
46compilers=(VC6 VC9)
47exts=(xcache)
48
49outputDir="$HOME/pub"
50setExtOutputDir "$outputDir/???"
[970]51TMP=/c/tmp
Note: See TracBrowser for help on using the repository browser.