Difference between revisions of "Lua"
From CBLFS
Jump to navigationJump to searchWeibullguy (talk | contribs) m (What about us multilib guys?) |
Weibullguy (talk | contribs) |
||
Line 7: | Line 7: | ||
---- | ---- | ||
− | {{ | + | {{Package-Introduction|Lua is a powerful, fast, light-weight, embeddable scripting language|http://www.lua.org/}} |
== Dependencies == | == Dependencies == | ||
Line 20: | Line 20: | ||
make INSTALL_TOP=/usr install && | make INSTALL_TOP=/usr install && | ||
− | cp etc/lua.pc /usr/lib/pkgconfig | + | mkdir -pv /usr/share/lua/{{Lua-Version2}} && |
+ | mkdir -pv /usr/lib/lua/{{Lua-Version2}} && | ||
+ | sed -i 's@/usr/local@/usr@g' etc/lua.pc && | ||
+ | cp etc/lua.pc /usr/lib/pkgconfig && | ||
+ | cp etc/lua.ico /usr/share/icons | ||
== Multilib == | == Multilib == | ||
Line 33: | Line 37: | ||
make INSTALL_TOP=/usr install && | make INSTALL_TOP=/usr install && | ||
− | cp etc/lua.pc /usr/lib/pkgconfig | + | mkdir -pv /usr/share/lua/{{Lua-Version2}} && |
+ | mkdir -pv /usr/lib/lua/{{Lua-Version2}} && | ||
+ | sed -i 's@/usr/local@/usr@g' etc/lua.pc && | ||
+ | cp etc/lua.pc /usr/lib/pkgconfig && | ||
+ | cp etc/lua.ico /usr/share/icons | ||
=== N32 === | === N32 === | ||
Line 43: | Line 51: | ||
Install the package | Install the package | ||
− | make INSTALL_TOP=/usr INSTALL_LIB=/usr/lib32 install && | + | make INSTALL_TOP=/usr INSTALL_LIB=/usr/lib32 install && |
− | cp etc/lua.pc /usr/lib32/pkgconfig | + | mkdir -pv /usr/share/lua/{{Lua-Version2}} && |
+ | mkdir -pv /usr/lib32/lua/{{Lua-Version2}} && | ||
+ | sed -i 's@/usr/local@/usr@g' etc/lua.pc && | ||
+ | sed -i 's@/lib@/lib32@g' etc/lua.pc && | ||
+ | cp etc/lua.pc /usr/lib32/pkgconfig && | ||
+ | cp etc/lua.ico /usr/share/icons | ||
=== 64Bit === | === 64Bit === | ||
Line 55: | Line 68: | ||
make INSTALL_TOP=/usr INSTALL_LIB=/usr/lib64 install && | make INSTALL_TOP=/usr INSTALL_LIB=/usr/lib64 install && | ||
− | cp etc/lua.pc /usr/lib64/pkgconfig | + | mkdir -pv /usr/share/lua/{{Lua-Version2}} && |
+ | mkdir -pv /usr/lib64/lua/{{Lua-Version2}} && | ||
+ | sed -i 's@/usr/local@/usr@g' etc/lua.pc && | ||
+ | sed -i 's@/lib@/lib64@g' etc/lua.pc && | ||
+ | cp etc/lua.pc /usr/lib64/pkgconfig && | ||
+ | cp etc/lua.ico /usr/share/icons | ||
== Contents == | == Contents == | ||
Line 76: | Line 94: | ||
|-valign="top" | |-valign="top" | ||
!lua | !lua | ||
− | | | + | |is the Lua interpreter |
|-valign="top" | |-valign="top" | ||
!luac | !luac | ||
− | | | + | |is the Lua compiler |
− | |||
− | |||
− | |||
|} | |} |
Revision as of 15:19, 5 October 2008
Download Source: | http://www.lua.org/ftp/lua-5.1.4.tar.gz |
---|
Contents
Introduction to Lua
Lua is a powerful, fast, light-weight, embeddable scripting language
Project Homepage: http://www.lua.org/
Dependencies
Non-Multilib
Compile the package:
make linux
Install the package
make INSTALL_TOP=/usr install && mkdir -pv /usr/share/lua/5.1 && mkdir -pv /usr/lib/lua/5.1 && sed -i 's@/usr/local@/usr@g' etc/lua.pc && cp etc/lua.pc /usr/lib/pkgconfig && cp etc/lua.ico /usr/share/icons
Multilib
32Bit
Compile the package:
make CC="gcc ${BUILD32}" linux
Install the package
make INSTALL_TOP=/usr install && mkdir -pv /usr/share/lua/5.1 && mkdir -pv /usr/lib/lua/5.1 && sed -i 's@/usr/local@/usr@g' etc/lua.pc && cp etc/lua.pc /usr/lib/pkgconfig && cp etc/lua.ico /usr/share/icons
N32
Compile the package:
make CC="gcc ${BUILDN32}" linux
Install the package
make INSTALL_TOP=/usr INSTALL_LIB=/usr/lib32 install && mkdir -pv /usr/share/lua/5.1 && mkdir -pv /usr/lib32/lua/5.1 && sed -i 's@/usr/local@/usr@g' etc/lua.pc && sed -i 's@/lib@/lib32@g' etc/lua.pc && cp etc/lua.pc /usr/lib32/pkgconfig && cp etc/lua.ico /usr/share/icons
64Bit
Compile the package:
make CC="gcc ${BUILD64}" linux
Install the package
make INSTALL_TOP=/usr INSTALL_LIB=/usr/lib64 install && mkdir -pv /usr/share/lua/5.1 && mkdir -pv /usr/lib64/lua/5.1 && sed -i 's@/usr/local@/usr@g' etc/lua.pc && sed -i 's@/lib@/lib64@g' etc/lua.pc && cp etc/lua.pc /usr/lib64/pkgconfig && cp etc/lua.ico /usr/share/icons
Contents
Installed Directories: | None |
---|---|
Installed Programs: | lua, luac |
Installed Libraries: | liblua.a |
Short Descriptions
lua | is the Lua interpreter |
---|---|
luac | is the Lua compiler |