summaryrefslogtreecommitdiffstats
path: root/gnustep-libs/gnustep-back/BUILD
blob: 63b2b953bec6dc3a0e45779f966c645324ae0935 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
. ${TRACK_ROOT}/usr/share/GNUstep/Makefiles/GNUstep.sh
local backend opts
for backend in $GNUSTEP_BACKEND ; do
opts="--enable-server=x11 --enable-graphics=$backend --with-name=$backend"
pushd $SOURCE_DIRECTORY.$backend
OPTS="$OPTS --build=${BUILD}";
[[ $CROSS_INSTALL == on ]] && OPTS="$OPTS --host=${HOST}";
./configure                                    \
     --prefix=${INSTALL_ROOT}/usr              \
     --sysconfdir=${INSTALL_ROOT}/etc          \
     --localstatedir=${INSTALL_ROOT}/var       \
     --mandir=${INSTALL_ROOT}/usr/share/man    \
     --infodir=${INSTALL_ROOT}/usr/share/info  \
     $opts                                     \
     $OPTS                                     &&
make
popd
done