PATCH_LIST= FILE_LIST= SRC_FETCH_METHOD="http" SRC_FETCH_PATH="http://download.savannah.gnu.org/releases/freetype/${PKGRADIX}-${PKGVER}.tar.gz" MAKEDEPENDS="zlib-*:::*.so *.h *.so.*" # We only use one ttf font in /usr/share/rrdtool/fonts function do_config { sed -i '/BASE_EXTENSIONS += ftxf86.c/d' modules.cfg sed -i '/BASE_EXTENSIONS += ftlcdfil.c/d' modules.cfg sed -i '/BASE_EXTENSIONS += ftwinfnt.c/d' modules.cfg sed -i '/BASE_EXTENSIONS += ftbdf.c/d' modules.cfg sed -i '/FONT_MODULES += cff/d' modules.cfg sed -i '/FONT_MODULES += type1/d' modules.cfg sed -i '/FONT_MODULES += winfonts/d' modules.cfg sed -i '/FONT_MODULES += pfr/d' modules.cfg sed -i '/FONT_MODULES += type42/d' modules.cfg # sed -i '/FONT_MODULES += sfnt/d' modules.cfg !!! DO NOT REMOVE THIS ONE: MANDATORY FOR RRDCGI GRAPHS CC="$CC" CXX="$CXX" LD="$LD" \ RANLIB="$RANLIB" AR="$AR" AS="$AS" NM="$NM" OBJDUMP="$OBJDUMP" \ ZLIB_CFLAGS="-I${FLXROOTDIR}/usr/include" ZLIB_LIBS="-L${FLXROOTDIR}/usr/lib -lz" \ CFLAGS="$GCC_ARCH_SMALL $GCC_CPU_SMALL $GCC_OPT_SMALL" \ ac_cv_prog_RC= ac_cv_prog_ac_ct_RC= \ ./configure \ --prefix=/usr --sysconfdir=/etc \ --libdir=/usr/lib \ --host=$FLXTARG --build=$FLXHOST \ --with-pic \ --with-png=no --with-bzip2=no --with-harfbuzz=no --with-zlib=yes } function do_compile_only { # parallel make $FLXPMAKE } function do_prepack { $FLXMAKE install DESTDIR=$ROOTDIR set_default_perm $ROOTDIR }