diff options
author | Kang Kai <kai.kang@windriver.com> | 2011-03-16 14:41:51 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-03-16 13:54:30 +0000 |
commit | a1f722aa9eab9313bcb295e4ff81bd02c34db438 (patch) | |
tree | 286e61ea0a6d54c704630632a4f12678790d5b75 /meta/recipes-extended/slang | |
parent | 2bbeab25c519c2ae419981de1e313438e6e1af5d (diff) | |
download | poky-a1f722aa9eab9313bcb295e4ff81bd02c34db438.tar.gz |
slang: export INST_LIB_DIR to fix compile problems
Export "INST_LIB_DIR" in do_install to slang/slsh to fix cross compile warnings
Fixes [YOCTO #812]
Add necessary files to run slsh.
(From OE-Core rev: 71782f844552636bb0158e7a2271e849259a48c0)
Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/slang')
-rw-r--r-- | meta/recipes-extended/slang/slang_2.2.2.bb | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/meta/recipes-extended/slang/slang_2.2.2.bb b/meta/recipes-extended/slang/slang_2.2.2.bb index 7fe76af4cc..f77a946c6e 100644 --- a/meta/recipes-extended/slang/slang_2.2.2.bb +++ b/meta/recipes-extended/slang/slang_2.2.2.bb | |||
@@ -10,7 +10,7 @@ to recode S-Lang procedures in C if you need to." | |||
10 | SECTION = "libs" | 10 | SECTION = "libs" |
11 | PRIORITY = "optional" | 11 | PRIORITY = "optional" |
12 | DEPENDS = "pcre" | 12 | DEPENDS = "pcre" |
13 | PR = "r0" | 13 | PR = "r1" |
14 | 14 | ||
15 | LICENSE = "GPL Artistic" | 15 | LICENSE = "GPL Artistic" |
16 | LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3" | 16 | LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3" |
@@ -23,3 +23,9 @@ inherit autotools | |||
23 | 23 | ||
24 | SRC_URI[md5sum] = "974437602a781cfe92ab61433dd16d03" | 24 | SRC_URI[md5sum] = "974437602a781cfe92ab61433dd16d03" |
25 | SRC_URI[sha256sum] = "cfaf8551fa3855f9b0043309bb553ef6d457f931b404df5a6ba6a5a69371fc42" | 25 | SRC_URI[sha256sum] = "cfaf8551fa3855f9b0043309bb553ef6d457f931b404df5a6ba6a5a69371fc42" |
26 | |||
27 | do_install() { | ||
28 | oe_runmake install DESTDIR=${D} -e 'INST_LIB_DIR=${STAGING_DIR_HOST}/usr/lib' | ||
29 | } | ||
30 | |||
31 | FILES_${PN} += "${datadir}/slsh/" | ||