Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix up the bootstrap.sh and include it in the tarball

  • Loading branch information...
commit bb96e428ae5c5b9c9dc0581b9b9f18f455ca89af 1 parent 81627fa
Duncan Coutts dcoutts authored
Showing with 8 additions and 8 deletions.
  1. +7 −7 bootstrap.sh
  2. +1 −1  cabal-install.cabal
14 bootstrap.sh
View
@@ -6,7 +6,7 @@
# HTTP packages. It then installs cabal-install itself.
# It expects to be run inside the cabal-install directory.
-CABAL_VER="1.4.0.1"
+CABAL_VER="1.4.0.2"
HTTP_VER="3001.0.4"
ZLIB_VER="0.4.0.4"
@@ -17,19 +17,19 @@ ZLIB_URL=${HACKAGE_URL}/zlib/${ZLIB_VER}/zlib-${ZLIB_VER}.tar.gz
wget ${CABAL_URL} ${HTTP_URL} ${ZLIB_URL}
-tar -zxf Cabal-1.4.0.1.tar.gz
-pushd Cabal-1.4.0.1
+tar -zxf Cabal-${CABAL_VER}.tar.gz
+pushd Cabal-${CABAL_VER}
ghc --make Setup
./Setup configure --user && ./Setup build && ./Setup install
popd
-tar -zxf HTTP-3001.0.4.tar.gz
-pushd HTTP-3001.0.4
+tar -zxf HTTP-${HTTP_VER}.tar.gz
+pushd HTTP-${HTTP_VER}
runghc Setup configure --user && runghc Setup build && runghc Setup install
popd
-tar -zxf zlib-0.4.0.4.tar.gz
-pushd zlib-0.4.0.4
+tar -zxf zlib-${ZLIB_VER}.tar.gz
+pushd zlib-${ZLIB_VER}
runghc Setup configure --user && runghc Setup build && runghc Setup install
popd
2  cabal-install.cabal
View
@@ -21,7 +21,7 @@ Copyright: 2005 Lemmih <lemmih@gmail.com>
Stability: Experimental
Category: Distribution
Build-type: Simple
-Extra-Source-Files: README bash-completion/cabal
+Extra-Source-Files: README bash-completion/cabal bootstrap.sh
Cabal-Version: >= 1.2
flag old-base
Please sign in to comment.
Something went wrong with that request. Please try again.