summaryrefslogtreecommitdiff
path: root/packages/xorg-app
diff options
context:
space:
mode:
authorRolf Leggewie <oe-devel@rolf.leggewie.biz>2008-02-08 01:08:46 +0000
committerRolf Leggewie <oe-devel@rolf.leggewie.biz>2008-02-08 01:08:46 +0000
commit7fbf6ee54374e1791bdbbd97b16d19b14599546e (patch)
tree59a89039c3f80b4682290e14152b975d7f1abfef /packages/xorg-app
parentb263c8d2152d8d012bd80a6fe1f608c2a735d793 (diff)
mkbold-mkitalic-native: initial commit. partly closes 1362 (incorporate stuff from openzaurus-ja project)
Diffstat (limited to 'packages/xorg-app')
-rw-r--r--packages/xorg-app/mkbold-mkitalic-native/.mtn2git_empty0
-rw-r--r--packages/xorg-app/mkbold-mkitalic-native/makebifonts5
-rw-r--r--packages/xorg-app/mkbold-mkitalic-native_0.11.bb21
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/
+}
+