aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2017-03-27 18:59:49 -0700
committerMartin Jansa <Martin.Jansa@gmail.com>2017-08-31 15:22:58 +0200
commitd2b68f0a381cf4958e97fe0dc71d2e788a43dff5 (patch)
tree9d90cbce5ecc90e1fcb3fdc978b1c7f352a67880
parent43f0109732abe48491679ce7e7116bd4f4a1f3bb (diff)
downloadmeta-openembedded-contrib-d2b68f0a381cf4958e97fe0dc71d2e788a43dff5.tar.gz
meta-openembedded-contrib-d2b68f0a381cf4958e97fe0dc71d2e788a43dff5.tar.bz2
meta-openembedded-contrib-d2b68f0a381cf4958e97fe0dc71d2e788a43dff5.zip
ttf-inconsolata: Move copying of .otf to .ttf into do_compile
Fixes errors like | mv: cannot stat '/mnt/b/build/tmp-musl/work/all-oe-linux/ttf-inconsolata/20100526-r0/Inconsolata.otf': No such file or directory | WARNING: /mnt/b/build/tmp-musl/work/all-oe-linux/ttf-inconsolata/20100526-r0/temp/run.do_configure.2485:1 exit 1 from 'mv /mnt/b/build/tmp-musl/work/all-oe-linux/ttf-inconsolata/20100526-r0/Inconsolata.otf /mnt/b/build/tmp-musl/work/all-oe-linux/ttf-inconsolata/20100526-r0/ttf-inconsolata-20100526/Inconsolata.ttf' Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-graphics/ttf-fonts/ttf-inconsolata_20100526.bb7
1 files changed, 4 insertions, 3 deletions
diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-inconsolata_20100526.bb b/meta-oe/recipes-graphics/ttf-fonts/ttf-inconsolata_20100526.bb
index 20041bb7b3..0d6df242a9 100644
--- a/meta-oe/recipes-graphics/ttf-fonts/ttf-inconsolata_20100526.bb
+++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-inconsolata_20100526.bb
@@ -13,13 +13,14 @@ S = "${WORKDIR}/ttf-inconsolata-${PV}"
FILES_${PN} = "${datadir}/fonts/truetype/Inconsolata.ttf \
${datadir}/doc/ttf-inconsolata/*"
-do_configure() {
+deltask do_configure
+
+do_compile_prepend() {
mv ${WORKDIR}/Inconsolata.otf ${S}/Inconsolata.ttf
}
do_install_append() {
- install -d ${D}${datadir}/doc/ttf-inconsolata/
- install -m 0644 ${WORKDIR}/OFL.txt ${D}${datadir}/doc/ttf-inconsolata/
+ install -D -m 0644 ${WORKDIR}/OFL.txt ${D}${datadir}/doc/ttf-inconsolata/OFL.txt
}
SRC_URI[md5sum] = "0fbe014c1f0fb5e3c71140ff0dc63edf"