build-freetype.sh

build-freetype.sh
#!/bin/bash
set -x
. $(dirname $0)/config
 
cd $SOURCES
wget -c \
   http://downloads.sourceforge.net/project/freetype/freetype2/\
2.3.11/freetype-2.3.11.tar.bz2
 
cd $BUILD
 
rm -rf freetype-2.3.11
tar -xf $SOURCES/freetype-2.3.11.tar.bz2
cd freetype-2.3.11
 
CPPFLAGS="$CF" \
LDFLAGS="$LF" \
./configure \
	--prefix=/usr \
	--host=$CROSS_COMPILE
 
make $J
make DESTDIR=$STAGING install
ostatnio zmienione: 2011/08/19 13:50