build-jamvm.sh

build-jamvm.sh
#!/bin/bash
set -x
. $(dirname $0)/config
 
cd $SOURCES
wget -c \
   http://downloads.sourceforge.net/project/jamvm/jamvm\
/JamVM%201.5.4/jamvm-1.5.4.tar.gz
 
cd $BUILD
 
rm -rf jamvm-1.5.4
tar -xf $SOURCES/jamvm-1.5.4.tar.gz
cd jamvm-1.5.4
 
CPPFLAGS="-I$STAGING/usr/include $CF" \
LDFLAGS="-L$STAGING/usr/lib $LF" \
./configure \
	--prefix=/usr \
	--host=$CROSS_COMPILE \
        --with-classpath-install-dir=/usr
 
make $J
make DESTDIR=$STAGING install
ostatnio zmienione: 2011/08/19 13:50