diff options
author | Florian Boor <florian.boor@kernelconcepts.de> | 2006-05-16 09:54:54 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2006-05-16 09:54:54 +0000 |
commit | 3fc764005b9a40e9d378871fd85ef35876e63a2d (patch) | |
tree | 2b38189fe02c5d5c8f060fa419a481029372bc85 /packages/lua/lua-gtk2_0.3.bb | |
parent | 08680cb961a9f1af036c8346a80b1706ec06e17c (diff) |
lua-gtk2: Add GTK bindings for LUA.
Diffstat (limited to 'packages/lua/lua-gtk2_0.3.bb')
-rw-r--r-- | packages/lua/lua-gtk2_0.3.bb | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/packages/lua/lua-gtk2_0.3.bb b/packages/lua/lua-gtk2_0.3.bb new file mode 100644 index 0000000000..4071bb1f04 --- /dev/null +++ b/packages/lua/lua-gtk2_0.3.bb @@ -0,0 +1,24 @@ +DESCRIPTION = "GTK bindings for LUA" +LICENSE = "GPL2" +PRIORITY = "optional" +DEPENDS = "gtk+ lua-native perl-native readline libffi" +RDEPENDS = "lua" +MAINTAINER = "Florian Boor <florian@kernelconcepts.de>" +SECTION = "libs" + +inherit gpe + +SRC_URI = "http://luaforge.net/frs/download.php/989/${P}.tar.gz \ + file://lua-gtk2-0.3_fixbuild.patch;patch=1" + +FILES_${PN} = "${datadir}/lua ${libdir}/lua50" + +CFLAGS_append = " -I '${S}/build-linux' -I src -DLINUX -I${STAGING_INCDIR} -L${STAGING_LIBDIR} -L${STAGING_LIBDIR}/../../${BUILD_SYS}/lib" + +do_compile () { + oe_runmake PREFIX='${prefix}' HGCC='${BUILD_CC}' LIBDIR='${STAGING_LIBDIR}' ODIR='build-linux/' CFLAGS='${CFLAGS}' +} + +do_configure_append () { + cd ${S} && mkdir build-linux +} |