[oe-commits] Petr Štetiar : lua-rs232: add recipe for version 1.0.2 , remove old package and fix stripping

git version control git at git.openembedded.org
Sun May 8 18:04:17 UTC 2011


Module: openembedded.git
Branch: master
Commit: 679ec3dae0d301755c3956ce30d008b90bef069d
URL:    http://git.openembedded.org/?p=openembedded.git&a=commit;h=679ec3dae0d301755c3956ce30d008b90bef069d

Author: Petr Štetiar <ynezz at true.cz>
Date:   Sun Mar 13 23:11:06 2011 +0100

lua-rs232: add recipe for version 1.0.2, remove old package and fix stripping

This patch adds recipe for the version 1.0.2 of the package, removes the old
recipe and fixes the stripping of the shared library - we install the shared
library with chmod 0755 now, otherwise the do_runstrip() function doesn't
strip the library and the result is, that the library is packaged unstripped.

Signed-off-by: Petr Štetiar <ynezz at true.cz>

---

 .../lua/{lua-rs232_1.0.0.bb => lua-rs232_1.0.2.bb} |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/recipes/lua/lua-rs232_1.0.0.bb b/recipes/lua/lua-rs232_1.0.2.bb
similarity index 69%
rename from recipes/lua/lua-rs232_1.0.0.bb
rename to recipes/lua/lua-rs232_1.0.2.bb
index d8de225..1c45102 100644
--- a/recipes/lua/lua-rs232_1.0.0.bb
+++ b/recipes/lua/lua-rs232_1.0.2.bb
@@ -1,15 +1,16 @@
 DESCRIPTION = "Lua bindings for librs232 - library for serial communications over RS-232 (serial port)"
 HOMEPAGE = "http://github.com/ynezz/librs232"
 LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://COPYING;md5=814bfb5f5c804f9554bf9c8f5b09fb83"
 
-PR = "r1"
+PR = "r0"
 
 DEPENDS += "lua5.1"
 RDEPENDS_${PN} += "librs232"
 
 SRC_URI = "git://github.com/ynezz/librs232.git;protocol=git"
 
-SRCREV = "ecad1e03104bc9bf348e0c5e571660f270c86421"
+SRCREV = "e9017b66f6bf259279bba7d1d00f39d6abb1c38a"
 S = "${WORKDIR}/git/"
 
 inherit autotools
@@ -23,6 +24,6 @@ FILES_${PN}-dbg = "${LUA_LIB_DIR}/.debug/${LUA_LIB}"
 
 do_install_append() {
 	install -d ${D}${LUA_LIB_DIR}/.debug
-	install -m 0644 ${D}${libdir}/${LUA_LIB} ${D}${LUA_LIB_DIR}/${LUA_LIB}
-	install -m 0644 ${D}${libdir}/${LUA_LIB} ${D}${LUA_LIB_DIR}/.debug/${LUA_LIB}
+	install -m 0755 ${D}${libdir}/${LUA_LIB} ${D}${LUA_LIB_DIR}/${LUA_LIB}
+	install -m 0755 ${D}${libdir}/${LUA_LIB} ${D}${LUA_LIB_DIR}/.debug/${LUA_LIB}
 }





More information about the Openembedded-commits mailing list