build-classpatch.sh

build-classpatch.sh
#!/bin/bash
set -x
. $(dirname $0)/config
 
cd $SOURCES
wget -c ftp://ftp.gnu.org/gnu/classpath/classpath-0.98.tar.gz
 
cd $BUILD
 
rm -rf classpath-0.98/
tar -xf $SOURCES/classpath-0.98.tar.gz
cd classpath-0.98/
 
CPPFLAGS="$CF" \
LDFLAGS="$LF" \
./configure \
	--prefix=/usr \
	--host=$CROSS_COMPILE \
        --disable-gtk-peer \
        --disable-gconf-peer \
        --disable-plugin \
        --disable-Werror
make $J
make DESTDIR=$STAGING install
ostatnio zmienione: 2011/08/19 13:50