Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
cookbook
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
redox-os
cookbook
Commits
edf6930c
Unverified
Commit
edf6930c
authored
7 years ago
by
Ian Douglas Scott
Browse files
Options
Downloads
Patches
Plain Diff
Recipe for Lua
parent
f1e261f8
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!4
Recipe for Lua
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
recipes/lua/patch
+15
-0
15 additions, 0 deletions
recipes/lua/patch
recipes/lua/recipe.sh
+34
-0
34 additions, 0 deletions
recipes/lua/recipe.sh
with
49 additions
and
0 deletions
recipes/lua/patch
0 → 100644
+
15
−
0
View file @
edf6930c
diff -rupN lua/src/Makefile lua-redox/src/Makefile
--- lua/src/Makefile 2015-05-27 04:10:11.000000000 -0700
+++ lua-redox/src/Makefile 2016-07-27 18:08:54.167232304 -0700
@@ -4,9 +4,9 @@
# == CHANGE THE SETTINGS BELOW TO SUIT YOUR ENVIRONMENT =======================
# Your platform. See PLATS for possible values.
-PLAT= none
+PLAT= posix
-CC= gcc -std=gnu99
+CC:= $(CC) -std=gnu99
CFLAGS= -O2 -Wall -Wextra -DLUA_COMPAT_5_2 $(SYSCFLAGS) $(MYCFLAGS)
LDFLAGS= $(SYSLDFLAGS) $(MYLDFLAGS)
LIBS= -lm $(SYSLIBS) $(MYLIBS)
This diff is collapsed.
Click to expand it.
recipes/lua/recipe.sh
0 → 100644
+
34
−
0
View file @
edf6930c
VERSION
=
5.3.1
SRC
=
http://www.lua.org/ftp/lua-
$VERSION
.tar.gz
DIR
=
lua-
$VERSION
function
recipe_version
{
echo
"
$VERSION
"
return
1
}
function
recipe_update
{
echo
"skipping update"
return
1
}
function
recipe_build
{
make generic
return
1
}
function
recipe_test
{
echo
"skipping test"
return
1
}
function
recipe_clean
{
make clean
return
1
}
function
recipe_stage
{
mkdir
-pv
"
$1
/bin"
cp
src/lua src/luac
"
$1
/bin"
return
1
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment