File: configure

package info (click to toggle)
t50 5.8.7c-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 808 kB
  • sloc: ansic: 5,721; makefile: 111; sh: 27
file content (24 lines) | stat: -rwxr-xr-x 441 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
#/bin/sh

# Checks if all necessary dependencies are in place.
unset ERROR
if ! which make > /dev/null 2>&1; then echo 'make needed...'; ERROR=1; fi
if ! which gzip > /dev/null 2>&1; then echo 'gzip needed...'; ERROR=1; fi

if [ ${ERROR} ]; then
  /usr/bin/echo -e "\e[1;31mERROR\e[m: Packages missing. Aborted."
  exit 1
fi

cat <<@@
To comple and install:

  $ make
  $ sudo make install

To uninstall:

  $ sudo make uninstall
@@

exit 0