[oe-commits] Petr Štetiar : lua-filesystem: use standard prefix for Lua libraries
git version control
git at git.openembedded.org
Thu Oct 21 02:01:30 UTC 2010
Module: openembedded.git
Branch: darwin
Commit: 546a304064527330c139eb4cf39998940dc76cf1
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=546a304064527330c139eb4cf39998940dc76cf1
Author: Petr Štetiar <ynezz at true.cz>
Date: Mon Oct 18 07:44:26 2010 +0000
lua-filesystem: use standard prefix for Lua libraries
Signed-off-by: Petr Štetiar <ynezz at true.cz>
Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
recipes/lua/lua-filesystem_1.5.0.bb | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/recipes/lua/lua-filesystem_1.5.0.bb b/recipes/lua/lua-filesystem_1.5.0.bb
index 8305009..cb5767b 100644
--- a/recipes/lua/lua-filesystem_1.5.0.bb
+++ b/recipes/lua/lua-filesystem_1.5.0.bb
@@ -2,6 +2,8 @@ DESCRIPTION = "LuaFileSystem is a Lua library with set of functions related to f
LICENSE = "MIT"
HOMEPAGE = "http://keplerproject.org/luafilesystem"
+PR = "r1"
+
DEPENDS += "lua5.1"
SRC_URI = "git://github.com/keplerproject/luafilesystem.git;protocol=git \
@@ -10,16 +12,16 @@ SRC_URI = "git://github.com/keplerproject/luafilesystem.git;protocol=git \
SRCREV = "ae5a05deec8a3737bd6972213b5495108b6566cc"
S = "${WORKDIR}/git/"
-LUA_LIB_DIR = "/usr/local/lib/lua/5.1"
+LUA_LIB_DIR = "${libdir}/lua/5.1"
PACKAGES = "${PN} ${PN}-dbg"
FILES_${PN}-dbg = "${LUA_LIB_DIR}/.debug/lfs.so"
FILES_${PN} = "${LUA_LIB_DIR}/lfs.so"
-EXTRA_OEMAKE = "PREFIX='${D}/usr/local' MYFLAGS='${CFLAGS} ${LDFLAGS}'"
+EXTRA_OEMAKE = "PREFIX='${D}/${prefix}' MYFLAGS='${CFLAGS} ${LDFLAGS}'"
do_install() {
- oe_runmake install PREFIX=${D}/usr/local
+ oe_runmake install PREFIX=${D}/${prefix}
install -d ${D}/${docdir}/${PN}-${PV}
install -m 0644 doc/us/* ${D}/${docdir}/${PN}-${PV}
}
More information about the Openembedded-commits
mailing list