|
|
|
@ -2,7 +2,7 @@
|
|
|
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|
|
|
|
# |
|
|
|
|
# Filename: package/.../lua/lua-conf.in |
|
|
|
|
# Copyright (C) 2006 The OpenSDE Project |
|
|
|
|
# Copyright (C) 2006 - 2008 The OpenSDE Project |
|
|
|
|
# Copyright (C) 2006 The T2 SDE Project |
|
|
|
|
# |
|
|
|
|
# More information can be found in the files COPYING and README. |
|
|
|
@ -13,13 +13,10 @@
|
|
|
|
|
# GNU General Public License can be found in the file COPYING. |
|
|
|
|
# --- SDE-COPYRIGHT-NOTE-END --- |
|
|
|
|
|
|
|
|
|
lua_pkg_confdir=$base/package/*/lua |
|
|
|
|
lua_pkg_ver=`sed -n 's,^\[V\] \(.*\),\1,p' ${lua_pkg_confdir}/lua.desc` |
|
|
|
|
|
|
|
|
|
myCFLAGS="-DLUA_USE_POSIX -DLUA_USE_DLOPEN -DLUA_USE_READLINE" |
|
|
|
|
myLIBS="-lm -ldl -lreadline -lhistory -lncurses" |
|
|
|
|
|
|
|
|
|
luaver="`echo $lua_pkg_ver | sed 's,-.*,,'`" |
|
|
|
|
luaver=$( pkgdesc ver lua ) |
|
|
|
|
pkglibdir=$libdir/lua/$luaver |
|
|
|
|
pkgdatadir=$datadir/lua/$luaver |
|
|
|
|
|
|
|
|
|