File: upstream

package info (click to toggle)
camlbz2 0.8.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 188 kB
  • sloc: ansic: 292; ml: 66; makefile: 14; sh: 8
file content (11 lines) | stat: -rwxr-xr-x 259 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

set -e

testdir=${AUTOPKGTEST_TMP:-/tmp}
cp examples/*.ml ${testdir}
cd ${testdir}
ocamlfind ocamlc -package bz2 -linkpkg -o bunzip2 bunzip2.ml
if [ -x /usr/bin/ocamlopt ]; then
    ocamlfind ocamlopt -package bz2 -linkpkg -o bunzip2 bunzip2.ml
fi