From patchwork Sat Apr 2 14:18:48 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [4/6] lua-rs232: add recipe for version 1.0.1, remove old package and fix stripping Date: Sat, 02 Apr 2011 14:18:48 -0000 From: =?utf-8?b?UGV0ciDFoHRldGlhciA8eW5lenpAdHJ1ZS5jej4=?= X-Patchwork-Id: 1887 Message-Id: <1301753930-32581-5-git-send-email-ynezz@true.cz> To: openembedded-devel@lists.openembedded.org This patch adds recipe for the version 1.0.1 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 --- recipes/lua/lua-rs232_1.0.0.bb | 28 ---------------------------- recipes/lua/lua-rs232_1.0.1.bb | 28 ++++++++++++++++++++++++++++ 2 files changed, 28 insertions(+), 28 deletions(-) delete mode 100644 recipes/lua/lua-rs232_1.0.0.bb create mode 100644 recipes/lua/lua-rs232_1.0.1.bb diff --git a/recipes/lua/lua-rs232_1.0.0.bb b/recipes/lua/lua-rs232_1.0.0.bb deleted file mode 100644 index d8de225..0000000 --- a/recipes/lua/lua-rs232_1.0.0.bb +++ /dev/null @@ -1,28 +0,0 @@ -DESCRIPTION = "Lua bindings for librs232 - library for serial communications over RS-232 (serial port)" -HOMEPAGE = "http://github.com/ynezz/librs232" -LICENSE = "MIT" - -PR = "r1" - -DEPENDS += "lua5.1" -RDEPENDS_${PN} += "librs232" - -SRC_URI = "git://github.com/ynezz/librs232.git;protocol=git" - -SRCREV = "ecad1e03104bc9bf348e0c5e571660f270c86421" -S = "${WORKDIR}/git/" - -inherit autotools - -LUA_LIB_DIR = "${libdir}/lua/5.1" -LUA_LIB = "luars232.so" - -PACKAGES = "${PN} ${PN}-dbg" -FILES_${PN} = "${LUA_LIB_DIR}/${LUA_LIB}" -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} -} diff --git a/recipes/lua/lua-rs232_1.0.1.bb b/recipes/lua/lua-rs232_1.0.1.bb new file mode 100644 index 0000000..21c850d --- /dev/null +++ b/recipes/lua/lua-rs232_1.0.1.bb @@ -0,0 +1,28 @@ +DESCRIPTION = "Lua bindings for librs232 - library for serial communications over RS-232 (serial port)" +HOMEPAGE = "http://github.com/ynezz/librs232" +LICENSE = "MIT" + +PR = "r1" + +DEPENDS += "lua5.1" +RDEPENDS_${PN} += "librs232" + +SRC_URI = "git://github.com/ynezz/librs232.git;protocol=git" + +SRCREV = "cd9811207ee08f0bd83354b609c13f56e39d5f6c" +S = "${WORKDIR}/git/" + +inherit autotools + +LUA_LIB_DIR = "${libdir}/lua/5.1" +LUA_LIB = "luars232.so" + +PACKAGES = "${PN} ${PN}-dbg" +FILES_${PN} = "${LUA_LIB_DIR}/${LUA_LIB}" +FILES_${PN}-dbg = "${LUA_LIB_DIR}/.debug/${LUA_LIB}" + +do_install_append() { + install -d ${D}${LUA_LIB_DIR}/.debug + 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} +}