diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2012-10-27 16:48:17 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-11-02 16:18:29 +0000 |
commit | d005b787dfe2c9bcaefe41836f9b1c3008105171 (patch) | |
tree | f6840a662b7f625f98f033303d0fcbcb87564e30 /meta/recipes-extended/ghostscript/ghostscript_9.05.bb | |
parent | cc1f50fca85dc48a237a518b8afe8563225ea8fa (diff) | |
download | poky-d005b787dfe2c9bcaefe41836f9b1c3008105171.tar.gz |
recipes-extended: replace virtclass-native(sdk) with class-native(sdk)
The overrides virtclass-native and virtclass-nativesdk are deprecated,
which should be replaced by class-native and class-nativesdk.
[YOCTO #3297]
(From OE-Core rev: 528b4ab831c7b0bc1412318d29e2b7f9cf711d57)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/ghostscript/ghostscript_9.05.bb')
-rw-r--r-- | meta/recipes-extended/ghostscript/ghostscript_9.05.bb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/meta/recipes-extended/ghostscript/ghostscript_9.05.bb b/meta/recipes-extended/ghostscript/ghostscript_9.05.bb index 1c18b217da..1fdcb997e7 100644 --- a/meta/recipes-extended/ghostscript/ghostscript_9.05.bb +++ b/meta/recipes-extended/ghostscript/ghostscript_9.05.bb | |||
@@ -18,7 +18,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=c5326026692dbed183f0558f926580f8" | |||
18 | PR = "r3" | 18 | PR = "r3" |
19 | 19 | ||
20 | DEPENDS = "ghostscript-native tiff jpeg fontconfig cups" | 20 | DEPENDS = "ghostscript-native tiff jpeg fontconfig cups" |
21 | DEPENDS_virtclass-native = "" | 21 | DEPENDS_class-native = "" |
22 | 22 | ||
23 | SRC_URI_BASE = "http://downloads.ghostscript.com/public/ghostscript-${PV}.tar.gz" | 23 | SRC_URI_BASE = "http://downloads.ghostscript.com/public/ghostscript-${PV}.tar.gz" |
24 | 24 | ||
@@ -30,7 +30,7 @@ SRC_URI = "${SRC_URI_BASE} \ | |||
30 | file://ghostscript-9.05-NOT-check-endian.patch \ | 30 | file://ghostscript-9.05-NOT-check-endian.patch \ |
31 | " | 31 | " |
32 | 32 | ||
33 | SRC_URI_virtclass-native = "${SRC_URI_BASE}" | 33 | SRC_URI_class-native = "${SRC_URI_BASE}" |
34 | 34 | ||
35 | SRC_URI[md5sum] = "f7c6f0431ca8d44ee132a55d583212c1" | 35 | SRC_URI[md5sum] = "f7c6f0431ca8d44ee132a55d583212c1" |
36 | SRC_URI[sha256sum] = "593f77f7584704bdf9de41598a084a4208c3ad3b940a1de1faaf8f59a15cc207" | 36 | SRC_URI[sha256sum] = "593f77f7584704bdf9de41598a084a4208c3ad3b940a1de1faaf8f59a15cc207" |
@@ -80,18 +80,18 @@ do_install_append () { | |||
80 | chown -R root:lp ${D}${sysconfdir}/cups | 80 | chown -R root:lp ${D}${sysconfdir}/cups |
81 | } | 81 | } |
82 | 82 | ||
83 | python do_patch_virtclass-native () { | 83 | python do_patch_class-native () { |
84 | pass | 84 | pass |
85 | } | 85 | } |
86 | 86 | ||
87 | do_compile_virtclass-native () { | 87 | do_compile_class-native () { |
88 | mkdir -p obj | 88 | mkdir -p obj |
89 | for i in genarch genconf mkromfs echogs gendev genht; do | 89 | for i in genarch genconf mkromfs echogs gendev genht; do |
90 | oe_runmake obj/aux/$i | 90 | oe_runmake obj/aux/$i |
91 | done | 91 | done |
92 | } | 92 | } |
93 | 93 | ||
94 | do_install_virtclass-native () { | 94 | do_install_class-native () { |
95 | install -d ${D}${bindir}/ghostscript-${PV} | 95 | install -d ${D}${bindir}/ghostscript-${PV} |
96 | for i in genarch genconf mkromfs echogs gendev genht; do | 96 | for i in genarch genconf mkromfs echogs gendev genht; do |
97 | install -m 755 obj/aux/$i ${D}${bindir}/ghostscript-${PV}/$i | 97 | install -m 755 obj/aux/$i ${D}${bindir}/ghostscript-${PV}/$i |