Skip to content

Commit

Permalink
Fix up the bootstrap.sh and include it in the tarball
Browse files Browse the repository at this point in the history
  • Loading branch information
dcoutts committed Aug 26, 2008
1 parent 81627fa commit bb96e42
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions bootstrap.sh
Expand Up @@ -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"

Expand All @@ -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

Expand Down
2 changes: 1 addition & 1 deletion cabal-install.cabal
Expand Up @@ -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
Expand Down

0 comments on commit bb96e42

Please sign in to comment.