diff options
author | Henri Herscher <henri@oreka.org> | 2005-10-27 15:08:39 +0000 |
---|---|---|
committer | Henri Herscher <henri@oreka.org> | 2005-10-27 15:08:39 +0000 |
commit | e76fa0b3e203a5eeebc15eed92be79933bd94457 (patch) | |
tree | 6b007edae582fb67b69393c35544ed8bd96274ec /website/latest | |
parent | 0fd6bacf4e3cf06208d3d0327672d9446094e0a6 (diff) |
First checkin
git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@18 09dcff7a-b715-0410-9601-b79a96267cd0
Diffstat (limited to 'website/latest')
-rw-r--r-- | website/latest/audacity-mac.php | 9 | ||||
-rw-r--r-- | website/latest/audacity-macosx.php | 9 | ||||
-rw-r--r-- | website/latest/audacity-src.php | 9 | ||||
-rw-r--r-- | website/latest/audacity-win-zip.php | 9 | ||||
-rw-r--r-- | website/latest/audacity-win.php | 9 | ||||
-rw-r--r-- | website/latest/mirror.inc.php | 6 | ||||
-rw-r--r-- | website/latest/versions.inc.php | 22 |
7 files changed, 73 insertions, 0 deletions
diff --git a/website/latest/audacity-mac.php b/website/latest/audacity-mac.php new file mode 100644 index 0000000..5e5062e --- /dev/null +++ b/website/latest/audacity-mac.php @@ -0,0 +1,9 @@ +<? + +# perform a redirect to the latest version, so links to it can remain static + +include 'mirror.inc.php'; +include 'versions.inc.php'; +header('Location: '.download_url('audacity-mac-'.mac_classic_version.'.sit')); + +?> diff --git a/website/latest/audacity-macosx.php b/website/latest/audacity-macosx.php new file mode 100644 index 0000000..d7cff50 --- /dev/null +++ b/website/latest/audacity-macosx.php @@ -0,0 +1,9 @@ +<? + +# perform a redirect to the latest version, so links to it can remain static + +include 'mirror.inc.php'; +include 'versions.inc.php'; +header('Location: '.download_url('audacity-macosx-'.macosx_version.'.dmg')); + +?> diff --git a/website/latest/audacity-src.php b/website/latest/audacity-src.php new file mode 100644 index 0000000..35f063a --- /dev/null +++ b/website/latest/audacity-src.php @@ -0,0 +1,9 @@ +<? + +# perform a redirect to the latest version, so links to it can remain static + +include 'mirror.inc.php'; +include 'versions.inc.php'; +header('Location: '.download_url('audacity-src-'.src_version.src_suffix)); + +?> diff --git a/website/latest/audacity-win-zip.php b/website/latest/audacity-win-zip.php new file mode 100644 index 0000000..964da38 --- /dev/null +++ b/website/latest/audacity-win-zip.php @@ -0,0 +1,9 @@ +<? + +# perform a redirect to the latest version, so links to it can remain static + +include 'mirror.inc.php'; +include 'versions.inc.php'; +header('Location: '.download_url('audacity-win-'.win_zip_version.'.zip')); + +?> diff --git a/website/latest/audacity-win.php b/website/latest/audacity-win.php new file mode 100644 index 0000000..83216ae --- /dev/null +++ b/website/latest/audacity-win.php @@ -0,0 +1,9 @@ +<? + +# perform a redirect to the latest version, so links to it can remain static + +include 'mirror.inc.php'; +include 'versions.inc.php'; +header('Location: '.download_url('audacity-win-'.win_exe_version.'.exe')); + +?> diff --git a/website/latest/mirror.inc.php b/website/latest/mirror.inc.php new file mode 100644 index 0000000..b5e7e3b --- /dev/null +++ b/website/latest/mirror.inc.php @@ -0,0 +1,6 @@ +<?php + function download_url($filename) { + $use_default = "voxel"; + return "http://prdownloads.sourceforge.net/audacity/$filename?use_mirror=$use_default"; + } +?> diff --git a/website/latest/versions.inc.php b/website/latest/versions.inc.php new file mode 100644 index 0000000..f988174 --- /dev/null +++ b/website/latest/versions.inc.php @@ -0,0 +1,22 @@ +<?php +// Note: Sizes are in MB. +define('mac_classic_version', '1.0.0'); +define('mac_classic_size', 1.5); +define('macosx_version', '1.2.3'); +define('macosx_size', 3.2); + +define('win_exe_version', '1.2.3'); +define('win_exe_size', 2.4); +define('win_zip_version', '1.2.3'); +define('win_zip_size', 2.7); + +define('src_version', '1.2.3'); +define('src_size', 4.0); +define('src_suffix', '.tar.gz'); + +$win_exe_url = "audacity-win/audacity-win-".win_exe_version.".exe"; +$win_zip_url = "audacity-win-zip/audacity-win-".win_zip_version.".zip"; +$src_url = "audacity-src/audacity-src-".src_version.src_suffix; +$macosx_url = "audacity-macosx/audacity-macosx-".macosx_version.".dmg"; +$mac_classic_url = "audacity-mac/audacity-mac-".mac_classic_version.".sit"; +?> |