name=fox
version=1.6.36
-release=1
+release=2
source=(http://www.fox-toolkit.org/ftp/$name-$version.tar.gz)
build() {
cd $name-$version
- export CPPFLAGS="$CPPFLAGS -I$CLFS/usr/include/freetype2"
export LIBS="$LIBS -lXft -lXrender -lfontconfig -lfreetype -lX11 -lz"
export XFTCFLAGS="-I$CLFS/usr/include/freetype2"
export XFTLIBS="-lXft -lXrender -lfontconfig -lfreetype -lX11"
+ export CXXFLAGS="$CXXFLAGS -I$CLFS/usr/include $XFTCFLAGS"
+ export X_BASE_LIBS="$X_BASE_LIBS"
+
./configure --build=$CHOST \
--host=$CTARGET \
--prefix=/usr \
--enable-release \
--with-xcursor \
--with-xft \
- --disable-nls
+ --disable-nls \
+ --enable-release
make
make prefix=$PKG/usr install
rm -r $PKG/usr/share