diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2010-09-14 19:04:46 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2010-09-14 19:04:46 +0200 |
commit | 05d0076d97ed69a531df1aa5cde3a1e6ed17f922 (patch) | |
tree | e605e2d5de96fe9afe7ad8724fe57e9e5c5417e1 /package/lua/Makefile | |
parent | a2e96ddb9519a2f40857f11501b88e465d25082d (diff) |
replace mksh scripts with faster C programs
depmaker and pkgmaker is replaced by C programs. scan-pkgs.sh will be replaced
by another mechanism. scan-pkgs.sh is needed to recognize package flavour changes,
so that a package is rebuild.
Generation of meta-data is a lot faster now.
Fix or add new PKG variables to fulfill the needs of the new programs.
Documentation will follow as soon as it is stable.
Diffstat (limited to 'package/lua/Makefile')
-rw-r--r-- | package/lua/Makefile | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/package/lua/Makefile b/package/lua/Makefile index 59e50bbd8..59cb96791 100644 --- a/package/lua/Makefile +++ b/package/lua/Makefile @@ -9,20 +9,21 @@ PKG_RELEASE:= 2 PKG_MD5SUM:= d0870f2de55d59c1c8419f36e8fac150 PKG_DESCR:= LUA programming language interpreter PKG_SECTION:= lang -PKG_BUILDDEP:= readline PKG_DEPENDS:= libreadline -PKG_MULTI:= 1 +PKG_BUILDDEP:= readline PKG_URL:= http://www.lua.org/ PKG_SITES:= http://www.lua.org/ftp/ +PKG_MULTI:= 1 -PKG_DESCR_LUAC:= LUA bytecode compiler -PKG_DESCR_LUAEX:= LUA script examples +PKG_SUBPKGS:= LUA LUAC LUA_EXAMPLES +PKGSD_LUAC:= LUA bytecode compiler +PKGSD_LUAEXAMPLES:= LUA script examples include ${TOPDIR}/mk/package.mk $(eval $(call PKG_template,LUA,lua,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) -$(eval $(call PKG_template,LUAC,luac,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR_LUAC},${PKG_SECTION})) -$(eval $(call PKG_template,LUA_EXAMPLES,lua-examples,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR_LUAEX},${PKG_SECTION})) +$(eval $(call PKG_template,LUAC,luac,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LUAC},${PKG_SECTION})) +$(eval $(call PKG_template,LUA_EXAMPLES,lua-examples,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LUAEXAMPLES},${PKG_SECTION})) CONFIG_STYLE:= manual MAKE_FLAGS+= CFLAGS="${TCFLAGS} ${TCPPFLAGS} -DLUA_USE_LINUX -fPIC" \ |