diff options
author | Kang Kai <kai.kang@windriver.com> | 2011-05-13 10:06:44 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-05-16 15:32:20 +0100 |
commit | f10292ab3917549486cc676b2ff4f6cb4566b0db (patch) | |
tree | 7fff6842de96c259bbfd695301364f31d52873e4 /meta/recipes-extended/foomatic | |
parent | d2de82e45fe73d4d93862fb9801756e3c13deeef (diff) | |
download | poky-f10292ab3917549486cc676b2ff4f6cb4566b0db.tar.gz |
foomatic-filters: add a link to pass LSB printing test
LSB printing test will test a foomatic-rip under cups' directory,
so add it as link when DISTRO is set to linuxstdbase.
Part fixes [Yocto 904]
(From OE-Core rev: f422f928adc25b17966fe5bfb84bfe9dadb64555)
Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/foomatic')
-rw-r--r-- | meta/recipes-extended/foomatic/foomatic-filters_4.0.7.bb | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/meta/recipes-extended/foomatic/foomatic-filters_4.0.7.bb b/meta/recipes-extended/foomatic/foomatic-filters_4.0.7.bb index 8d704008f7..9627187569 100644 --- a/meta/recipes-extended/foomatic/foomatic-filters_4.0.7.bb +++ b/meta/recipes-extended/foomatic/foomatic-filters_4.0.7.bb | |||
@@ -10,7 +10,7 @@ format using a printer-specific, but spooler-independent PPD file. \ | |||
10 | " | 10 | " |
11 | 11 | ||
12 | DEPENDS += "cups perl libxml2" | 12 | DEPENDS += "cups perl libxml2" |
13 | PR = "r0" | 13 | PR = "r1" |
14 | 14 | ||
15 | LICENSE = "GPLv2+" | 15 | LICENSE = "GPLv2+" |
16 | LIC_FILES_CHKSUM = "file://${WORKDIR}/foomatic-filters-${PV}/COPYING;md5=393a5ca445f6965873eca0259a17f833" | 16 | LIC_FILES_CHKSUM = "file://${WORKDIR}/foomatic-filters-${PV}/COPYING;md5=393a5ca445f6965873eca0259a17f833" |
@@ -20,4 +20,11 @@ SRC_URI = "http://www.openprinting.org/download/foomatic/foomatic-filters-${PV}. | |||
20 | SRC_URI[md5sum] = "20abd25c1c98b2dae68709062a132a7d" | 20 | SRC_URI[md5sum] = "20abd25c1c98b2dae68709062a132a7d" |
21 | SRC_URI[sha256sum] = "090313fae40b177f505d9c9b93d7a4d7188b6d5d18b6ae41ab24903ac983478d" | 21 | SRC_URI[sha256sum] = "090313fae40b177f505d9c9b93d7a4d7188b6d5d18b6ae41ab24903ac983478d" |
22 | 22 | ||
23 | do_install_append_linuxstdbase() { | ||
24 | install -d ${D}${libdir}/cups/filter | ||
25 | ln -sf ${bindir}/foomatic-rip ${D}${libdir}/cups/filter | ||
26 | } | ||
27 | |||
28 | FILES_${PN}_append_linuxstdbase += "${libdir}/cups/filter/foomatic-rip" | ||
29 | |||
23 | inherit autotools | 30 | inherit autotools |