build.sh 508 Bytes
Newer Older
Alexander Larsson's avatar
Alexander Larsson committed
1
2
#!/bin/sh

3
4
5
ROOT=`pwd`/root
VAR=`pwd`/var
APP=`pwd`/packages
Alexander Larsson's avatar
Alexander Larsson committed
6
7
8
9
10
11
12
13
14
15
16
17
18
19

HELPER=`which gnome-sdk-helper`

declare -x HOME=/self
declare -x ACLOCAL_PATH="/self/share/aclocal"
declare -x CPLUS_INCLUDE_PATH="/self/include"
declare -x C_INCLUDE_PATH="/self/include"
declare -x GI_TYPELIB_PATH="/self/lib/girepository-1.0"
declare -x LDFLAGS="-L/self/lib "
declare -x PKG_CONFIG_PATH="/self/lib/pkgconfig:/self/share/pkgconfig"
declare -x PATH="/usr/bin:/self/bin"
unset INSTALL

$HELPER -w -W -a $APP -v $VAR $ROOT/usr "$@"