diff options
Diffstat (limited to 'meta-oe/recipes-devtools/lua/lua_5.3.2.bb')
-rw-r--r-- | meta-oe/recipes-devtools/lua/lua_5.3.2.bb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta-oe/recipes-devtools/lua/lua_5.3.2.bb b/meta-oe/recipes-devtools/lua/lua_5.3.2.bb index 0cc882df2..f97ed509f 100644 --- a/meta-oe/recipes-devtools/lua/lua_5.3.2.bb +++ b/meta-oe/recipes-devtools/lua/lua_5.3.2.bb | |||
@@ -8,7 +8,7 @@ PR = "r0" | |||
8 | 8 | ||
9 | DEPENDS = "readline" | 9 | DEPENDS = "readline" |
10 | SRC_URI = "http://www.lua.org/ftp/lua-${PV}.tar.gz;name=tarballsrc \ | 10 | SRC_URI = "http://www.lua.org/ftp/lua-${PV}.tar.gz;name=tarballsrc \ |
11 | file://lua.pc \ | 11 | file://lua.pc.in \ |
12 | " | 12 | " |
13 | SRC_URI += "${@bb.utils.contains('DISTRO_FEATURES', 'ptest', \ | 13 | SRC_URI += "${@bb.utils.contains('DISTRO_FEATURES', 'ptest', \ |
14 | 'http://www.lua.org/tests/lua-${PV}-tests.tar.gz;name=tarballtest \ | 14 | 'http://www.lua.org/tests/lua-${PV}-tests.tar.gz;name=tarballtest \ |
@@ -47,6 +47,8 @@ do_install () { | |||
47 | 'INSTALL_CMOD=${D}${libdir}/lua/5.3' \ | 47 | 'INSTALL_CMOD=${D}${libdir}/lua/5.3' \ |
48 | install | 48 | install |
49 | install -d ${D}${libdir}/pkgconfig | 49 | install -d ${D}${libdir}/pkgconfig |
50 | |||
51 | sed -e s/@VERSION@/${PV}/ ${WORKDIR}/lua.pc.in > ${WORKDIR}/lua.pc | ||
50 | install -m 0644 ${WORKDIR}/lua.pc ${D}${libdir}/pkgconfig/ | 52 | install -m 0644 ${WORKDIR}/lua.pc ${D}${libdir}/pkgconfig/ |
51 | rmdir ${D}${datadir}/lua/5.3 | 53 | rmdir ${D}${datadir}/lua/5.3 |
52 | rmdir ${D}${datadir}/lua | 54 | rmdir ${D}${datadir}/lua |