1*72956edaSAndrew GeisslerSUMMARY = "Terminus fonts packages (console and X11)" 2*72956edaSAndrew GeisslerDESCRIPTION = "Terminus Font is a clean, fixed width bitmap font, designed for \ 3*72956edaSAndrew Geissler long (8 and more hours per day) work with computers." 4*72956edaSAndrew GeisslerHOMEPAGE = "http://terminus-font.sourceforge.net/" 5*72956edaSAndrew GeisslerAUTHOR = "Dimitar Zhekov" 6*72956edaSAndrew GeisslerSECTION = "fonts" 7*72956edaSAndrew Geissler 8*72956edaSAndrew GeisslerLICENSE = "OFL-1.1" 9*72956edaSAndrew GeisslerLIC_FILES_CHKSUM = "file://OFL.TXT;md5=f57e6cca943dbc6ef83dc14f1855bdcc" 10*72956edaSAndrew Geissler 11*72956edaSAndrew GeisslerDEPENDS = "hostperl-runtime-native gzip-native bdftopcf-native" 12*72956edaSAndrew Geissler 13*72956edaSAndrew GeisslerSRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz" 14*72956edaSAndrew GeisslerSRC_URI[md5sum] = "1b6acbd221957e33c8a792ebfaf3a659" 15*72956edaSAndrew GeisslerSRC_URI[sha256sum] = "d961c1b781627bf417f9b340693d64fc219e0113ad3a3af1a3424c7aa373ef79" 16*72956edaSAndrew Geissler 17*72956edaSAndrew Geisslerinherit allarch fontcache 18*72956edaSAndrew Geissler 19*72956edaSAndrew GeisslerPACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}" 20*72956edaSAndrew GeisslerPACKAGECONFIG[x11] = "" 21*72956edaSAndrew Geissler 22*72956edaSAndrew Geissler# Don't use font cache mecanism for console packages 23*72956edaSAndrew GeisslerFONT_PACKAGES = "${@bb.utils.contains('PACKAGECONFIG', 'x11', '${PN}-pcf', '', d)}" 24*72956edaSAndrew Geissler 25*72956edaSAndrew Geissler# Hand made configure script. Don't need oe_runconf 26*72956edaSAndrew Geisslerdo_configure() { 27*72956edaSAndrew Geissler chmod +x ${S}/configure 28*72956edaSAndrew Geissler ${S}/configure --prefix=${prefix} \ 29*72956edaSAndrew Geissler --psfdir=${datadir}/consolefonts \ 30*72956edaSAndrew Geissler --acmdir=${datadir}/consoletrans \ 31*72956edaSAndrew Geissler --x11dir=${datadir}/fonts/terminus 32*72956edaSAndrew Geissler} 33*72956edaSAndrew Geissler 34*72956edaSAndrew Geisslerdo_compile() { 35*72956edaSAndrew Geissler oe_runmake DESTDIR=${D} psf ${@bb.utils.contains('PACKAGECONFIG', 'x11', 'pcf', '', d)} 36*72956edaSAndrew Geissler} 37*72956edaSAndrew Geissler 38*72956edaSAndrew Geisslerdo_install() { 39*72956edaSAndrew Geissler oe_runmake DESTDIR=${D} install-psf ${@bb.utils.contains('PACKAGECONFIG', 'x11', 'install-pcf', '', d)} 40*72956edaSAndrew Geissler} 41*72956edaSAndrew Geissler 42*72956edaSAndrew GeisslerPACKAGES += "${PN}-consolefonts ${PN}-consoletrans ${PN}-pcf" 43*72956edaSAndrew GeisslerFILES_${PN}-consolefonts = "${datadir}/consolefonts" 44*72956edaSAndrew GeisslerFILES_${PN}-consoletrans = "${datadir}/consoletrans" 45*72956edaSAndrew GeisslerFILES_${PN}-pcf = "${datadir}/fonts/terminus" 46