lua-rs232: use standard prefix for Lua libraries
authorPetr Štetiar <ynezz@true.cz>
Sun, 17 Oct 2010 10:49:44 +0000 (10:49 +0000)
committerKhem Raj <raj.khem@gmail.com>
Thu, 21 Oct 2010 01:30:24 +0000 (18:30 -0700)
Signed-off-by: Petr Štetiar <ynezz@true.cz>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
recipes/lua/lua-rs232_1.0.0.bb

index c11e3ac..d8de225 100644 (file)
@@ -2,6 +2,8 @@ DESCRIPTION = "Lua bindings for librs232 - library for serial communications ove
 HOMEPAGE = "http://github.com/ynezz/librs232"
 LICENSE = "MIT"
 
+PR = "r1"
+
 DEPENDS += "lua5.1"
 RDEPENDS_${PN} += "librs232"
 
@@ -12,7 +14,7 @@ S = "${WORKDIR}/git/"
 
 inherit autotools
 
-LUA_LIB_DIR = "/usr/local/lib/lua/5.1"
+LUA_LIB_DIR = "${libdir}/lua/5.1"
 LUA_LIB = "luars232.so"
 
 PACKAGES = "${PN} ${PN}-dbg"