summaryrefslogtreecommitdiffstats
path: root/display/svgalib/INSTALL
blob: 71575446cdb6f614bca9dfb6f381c0dd0ab558ff (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
make_normal                                           &&
make  prefix=${INSTALL_ROOT}/usr  install             &&
cd  kernel/svgalib_helper                             &&
local V=$(get_kernel_version)  &&
if  [[  "${V:0:3}"  ==  "2.6"  ]]; then
  message  "${MESSAGE_COLOR}Installing for 2.6...${DEFAULT_COLOR}"  &&
  make  install
else
  message  "${MESSAGE_COLOR}Installing for 2.4...${DEFAULT_COLOR}"  &&
  env  -u  ARCH                                                     \
  make  -f  Makefile.alt    prefix=${INSTALL_ROOT}                  \
  INCLUDEDIR="/usr/src/linux/include" install
fi