1 # Contributor: Christopher Schwaab -- christopher.schwaab gmail
5 pkgdesc="The unobtrusive cross-compilation engine."
7 url="http://maemo.gitorious.org/scratchbox2"
8 [ $CARCH = 'i686' ] && makedepends=('git') \
9 && depends=('glibc' 'perl' 'fakeroot' 'realpath')
10 [ $CARCH = 'x86_64' ] && makedepends=('gcc-multilib' 'binutils-multilib' 'gcc-libs-multilib' 'git') \
11 && depends=('lib32-glibc' 'perl' 'fakeroot' 'realpath')
13 conflicts=('scratchbox2-git')
16 _gitroot="git://gitorious.org/scratchbox2/scratchbox2.git"
17 _gitname="scratchbox2"
21 if [ ! -d ${srcdir}/$_gitname ] ; then
22 msg "Checking out source..."
23 git clone $_gitroot $_gitname
30 export LDFLAGS=`echo $LDFLAGS | sed -r 's/,?--as-needed|(-Wl,--as-needed)$//'`
36 make prefix=$pkgdir/usr install