File: bootstrap

package info (click to toggle)
openpace 1.1.0+ds-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 3,392 kB
  • sloc: ansic: 17,468; sh: 4,516; makefile: 568; python: 499; java: 182; ruby: 46
file content (34 lines) | stat: -rwxr-xr-x 472 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#!/bin/sh

AUTORECONF=${AUTORECONF:-autoreconf}
MAKE=${MAKE:-make}

if ! test -d ${WD}
then
    mkdir -p ${WD} && cd ${WD} \
        || exit $?
fi

# Create autoconf files
if ! test -x configure
then
    ${AUTORECONF} --verbose --install --symlink \
        || exit $?
fi

# Configure OpenPACE
if ! test -r Makefile
then
	./configure \
        || exit $?
fi

# Build OpenPACE
if ! test -x src/eactest
then
    ${MAKE} \
        || exit $?
fi

src/eactest \
    || exit $?