3 # XXX Is this true? These fonts are from X.org.
6 SRC_URI = "cvs://anoncvs@cvs.freedesktop.org/cvs/xorg;module=xc;tag=XORG-6_8_0;method=pserver \
7 file://lexer.patch;patch=1"
10 PACKAGES = "${PN}-75dpi ${PN}-100dpi ${PN}-type1 ${PN}-cyrillic ${PN}-ttf ${PN}"
11 FILES_${PN}-75dpi = "${libdir}/X11/fonts/75dpi"
12 FILES_${PN}-100dpi = "${libdir}/X11/fonts/100dpi"
13 FILES_${PN}-type1 = "${libdir}/X11/fonts/Type1"
14 FILES_${PN}-ttf = "${libdir}/X11/fonts/TTF"
15 FILES_${PN}-cyrillic = "${libdir}/X11/fonts/cyrillic"
16 FILES_${PN} = "${libdir}/X11/fonts"
23 echo "#define ProjectRoot /usr" >> config/cf/host.def
24 echo "#define XnestServer NO" >> config/cf/host.def
25 echo "#define XdmxServer NO" >> config/cf/host.def
26 echo "#define CcCmd ${BUILD_CC}" >> config/cf/host.def
27 echo "#define LdCmd ${BUILD_LD}" >> config/cf/host.def
28 echo "#define BuildFreetype2Library YES" >> config/cf/host.def
29 echo "#define HasFreetype2 NO" >> config/cf/host.def
30 echo "" > config/cf/date.def
31 make -C config/imake -f Makefile.ini CC="${BUILD_CC}" BOOTSTRAPCFLAGS="${BUILD_CFLAGS}" clean imake
32 make CC="${BUILD_CC}" xmakefile
44 make -C lib/fontconfig
45 make -C programs/mkfontscale
46 make -C programs/bdftopcf
47 make -C programs/fc-cache
52 make -C fonts DESTDIR="${D}" install