summaryrefslogtreecommitdiffstats
path: root/printer/opencups/BUILD
blob: 6922de6439a765f3048e6cae0e91067c8f07aaab (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# prevent install of init scripts and Mac OS X localization bundle dir
OPTS="--without-rcdir --without-bundledir $OPTS" &&

# set language options
if [[ $EXTRA_LANG == n ]]; then
  OPTS="--without-languages $OPTS"
else
  if [[ $CUPS_LANG == all ]]; then
    OPTS="--with-languages $OPTS"
  else
    OPTS="--with-languages=$CUPS_LANG $OPTS"
  fi
fi &&

OPTS="--libdir=$INSTALL_ROOT/usr/lib $CUPS_OPTS $OPTS"  &&
OPTS="$OPTS CC=gcc CXX=g++" &&
OPTS+=" --disable-static" &&

default_build