diff options
Diffstat (limited to 'packages')
-rw-r--r-- | packages/xorg-app/mkbold-mkitalic-native/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/xorg-app/mkbold-mkitalic-native/makebifonts | 5 | ||||
-rw-r--r-- | packages/xorg-app/mkbold-mkitalic-native_0.11.bb | 21 |
3 files changed, 26 insertions, 0 deletions
diff --git a/packages/xorg-app/mkbold-mkitalic-native/.mtn2git_empty b/packages/xorg-app/mkbold-mkitalic-native/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/xorg-app/mkbold-mkitalic-native/.mtn2git_empty diff --git a/packages/xorg-app/mkbold-mkitalic-native/makebifonts b/packages/xorg-app/mkbold-mkitalic-native/makebifonts new file mode 100644 index 0000000000..dc098955a2 --- /dev/null +++ b/packages/xorg-app/mkbold-mkitalic-native/makebifonts @@ -0,0 +1,5 @@ +#!/bin/sh +cat $1.bdf | bdftopcf | gzip -c -3 > $2/$3.pcf.gz +cat $1.bdf | mkbold | bdftopcf | gzip -c -3 > $2/$3_b.pcf.gz +cat $1.bdf | mkitalic | bdftopcf | gzip -c -3 > $2/$3_i.pcf.gz +cat $1.bdf | mkbolditalic | bdftopcf | gzip -c -3 > $2/$3_bi.pcf.gz diff --git a/packages/xorg-app/mkbold-mkitalic-native_0.11.bb b/packages/xorg-app/mkbold-mkitalic-native_0.11.bb new file mode 100644 index 0000000000..40082ec816 --- /dev/null +++ b/packages/xorg-app/mkbold-mkitalic-native_0.11.bb @@ -0,0 +1,21 @@ +DESCRIPTION = "mkbold-mkitalic : make bold and italic fonts from normal fonts" +HOMEPAGE = "http://hp.vector.co.jp/authors/VA013651/freeSoftware/mkbold-mkitalic.html" +PRIORITY = "optional" +LICENSE = "MIT/X" +PR = "r2" + +SRC_URI = "http://hp.vector.co.jp/authors/VA013651/lib/mkbold-mkitalic-${PV}.tar.bz2 \ + file://makebifonts" + +S = "${WORKDIR}/mkbold-mkitalic-${PV}" + +inherit native + +do_stage() { + install -d ${STAGING_DIR}/${BUILD_ARCH}-${BUILD_OS}/bin + install -m 755 mkbold ${STAGING_DIR}/${BUILD_ARCH}-${BUILD_OS}/bin/ + install -m 755 mkitalic ${STAGING_DIR}/${BUILD_ARCH}-${BUILD_OS}/bin/ + install -m 755 mkbolditalic ${STAGING_DIR}/${BUILD_ARCH}-${BUILD_OS}/bin/ + install -m 755 ${WORKDIR}/makebifonts ${STAGING_DIR}/${BUILD_ARCH}-${BUILD_OS}/bin/ +} + |