172956edaSAndrew GeisslerSUMMARY = "Terminus fonts packages (console and X11)" 272956edaSAndrew GeisslerDESCRIPTION = "Terminus Font is a clean, fixed width bitmap font, designed for \ 372956edaSAndrew Geissler long (8 and more hours per day) work with computers." 472956edaSAndrew GeisslerHOMEPAGE = "http://terminus-font.sourceforge.net/" 572956edaSAndrew GeisslerAUTHOR = "Dimitar Zhekov" 672956edaSAndrew GeisslerSECTION = "fonts" 772956edaSAndrew Geissler 872956edaSAndrew GeisslerLICENSE = "OFL-1.1" 972956edaSAndrew GeisslerLIC_FILES_CHKSUM = "file://OFL.TXT;md5=f57e6cca943dbc6ef83dc14f1855bdcc" 1072956edaSAndrew Geissler 1172956edaSAndrew GeisslerDEPENDS = "hostperl-runtime-native gzip-native bdftopcf-native" 1272956edaSAndrew Geissler 1372956edaSAndrew GeisslerSRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz" 1472956edaSAndrew GeisslerSRC_URI[md5sum] = "1b6acbd221957e33c8a792ebfaf3a659" 1572956edaSAndrew GeisslerSRC_URI[sha256sum] = "d961c1b781627bf417f9b340693d64fc219e0113ad3a3af1a3424c7aa373ef79" 1672956edaSAndrew Geissler 1772956edaSAndrew Geisslerinherit allarch fontcache 1872956edaSAndrew Geissler 1972956edaSAndrew GeisslerPACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}" 2072956edaSAndrew GeisslerPACKAGECONFIG[x11] = "" 2172956edaSAndrew Geissler 2272956edaSAndrew Geissler# Don't use font cache mecanism for console packages 2372956edaSAndrew GeisslerFONT_PACKAGES = "${@bb.utils.contains('PACKAGECONFIG', 'x11', '${PN}-pcf', '', d)}" 2472956edaSAndrew Geissler 2572956edaSAndrew Geissler# Hand made configure script. Don't need oe_runconf 2672956edaSAndrew Geisslerdo_configure() { 2772956edaSAndrew Geissler chmod +x ${S}/configure 2872956edaSAndrew Geissler ${S}/configure --prefix=${prefix} \ 2972956edaSAndrew Geissler --psfdir=${datadir}/consolefonts \ 3072956edaSAndrew Geissler --acmdir=${datadir}/consoletrans \ 3172956edaSAndrew Geissler --x11dir=${datadir}/fonts/terminus 3272956edaSAndrew Geissler} 3372956edaSAndrew Geissler 3472956edaSAndrew Geisslerdo_compile() { 3572956edaSAndrew Geissler oe_runmake DESTDIR=${D} psf ${@bb.utils.contains('PACKAGECONFIG', 'x11', 'pcf', '', d)} 3672956edaSAndrew Geissler} 3772956edaSAndrew Geissler 3872956edaSAndrew Geisslerdo_install() { 3972956edaSAndrew Geissler oe_runmake DESTDIR=${D} install-psf ${@bb.utils.contains('PACKAGECONFIG', 'x11', 'install-pcf', '', d)} 4072956edaSAndrew Geissler} 4172956edaSAndrew Geissler 4272956edaSAndrew GeisslerPACKAGES += "${PN}-consolefonts ${PN}-consoletrans ${PN}-pcf" 43*213cb269SPatrick WilliamsFILES:${PN}-consolefonts = "${datadir}/consolefonts" 44*213cb269SPatrick WilliamsFILES:${PN}-consoletrans = "${datadir}/consoletrans" 45*213cb269SPatrick WilliamsFILES:${PN}-pcf = "${datadir}/fonts/terminus" 46