Revision af8492ff devel/build_chroot
b/devel/build_chroot | ||
---|---|---|
256 | 256 |
in_chroot -- \ |
257 | 257 |
cabal install --global base64-bytestring |
258 | 258 |
;; |
259 |
precise) |
|
260 |
# ghc, git-email and other dependencies are hosted in the universe |
|
261 |
# repository, which is not enabled by default. |
|
262 |
echo "Adding universe repository..." |
|
263 |
cat > $CHDIR/etc/apt/sources.list.d/universe.list <<EOF |
|
264 |
deb http://archive.ubuntu.com/ubuntu precise universe |
|
265 |
EOF |
|
266 |
in_chroot -- \ |
|
267 |
apt-get update |
|
259 | 268 |
|
260 |
*) |
|
269 |
echo "Installing packages" |
|
270 |
in_chroot -- \ |
|
271 |
$APT_INSTALL \ |
|
272 |
autoconf automake ghc ghc-haddock libghc-network-dev \ |
|
273 |
libghc-test-framework{,-hunit,-quickcheck2}-dev \ |
|
274 |
libghc-json-dev libghc-curl-dev libghc-hinotify-dev \ |
|
275 |
libghc-parallel-dev libghc-utf8-string-dev \ |
|
276 |
libghc-hslogger-dev libghc-crypto-dev \ |
|
277 |
libghc-regex-pcre-dev libghc-attoparsec-dev \ |
|
278 |
libghc-vector-dev libghc-temporary-dev \ |
|
279 |
libghc-snap-server-dev libpcre3 libpcre3-dev hscolour hlint pandoc \ |
|
280 |
libghc-lifted-base-dev \ |
|
281 |
python-setuptools python-sphinx python-epydoc graphviz python-pyparsing \ |
|
282 |
python-simplejson python-pyinotify python-pycurl python-paramiko \ |
|
283 |
python-bitarray python-ipaddr python-yaml qemu-utils python-coverage pep8 \ |
|
284 |
python-dev pylint openssh-client vim git git-email \ |
|
285 |
build-essential |
|
261 | 286 |
|
287 |
echo "Installing cabal packages" |
|
288 |
in_chroot -- \ |
|
289 |
$APT_INSTALL cabal-install |
|
290 |
|
|
291 |
in_chroot -- \ |
|
292 |
cabal update |
|
293 |
|
|
294 |
in_chroot -- \ |
|
295 |
cabal install --global shelltestrunner |
|
296 |
;; |
|
297 |
|
|
298 |
*) |
|
262 | 299 |
in_chroot -- \ |
263 | 300 |
$APT_INSTALL \ |
264 | 301 |
autoconf automake ghc ghc-haddock libghc-network-dev \ |
Also available in: Unified diff