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
6d513c49
Verified
Commit
6d513c49
authored
1 year ago
by
Jeremy Soller
Browse files
Options
Downloads
Patches
Plain Diff
ncurses: convert to new recipe format
parent
0e5e1eb0
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
recipes/ncurses/recipe.sh
+0
-35
0 additions, 35 deletions
recipes/ncurses/recipe.sh
recipes/ncurses/recipe.toml
+22
-0
22 additions, 0 deletions
recipes/ncurses/recipe.toml
with
22 additions
and
35 deletions
recipes/ncurses/recipe.sh
deleted
100644 → 0
+
0
−
35
View file @
0e5e1eb0
VERSION
=
6.4
TAR
=
https://ftp.gnu.org/gnu/ncurses/ncurses-
$VERSION
.tar.gz
DEPENDS
=
"terminfo"
function
recipe_version
{
echo
"
$VERSION
"
skip
=
1
}
function
recipe_build
{
./configure
\
--build
=
${
BUILD
}
\
--host
=
${
HOST
}
\
--prefix
=
""
\
--disable-db-install
\
--without-ada
\
--without-cxx-binding
\
--without-tests
\
cf_cv_func_mkstemp
=
yes
"
$REDOX_MAKE
"
-j
"
$(
$NPROC
)
"
skip
=
1
}
function
recipe_clean
{
"
$REDOX_MAKE
"
clean
skip
=
1
}
function
recipe_stage
{
dest
=
"
$(
realpath
$1
)
"
"
$REDOX_MAKE
"
DESTDIR
=
"
$dest
"
install
rm
-rf
"
$1
"
/bin
rm
-rf
"
$1
"
/share/
{
doc,info,man
}
skip
=
1
}
This diff is collapsed.
Click to expand it.
recipes/ncurses/recipe.toml
0 → 100644
+
22
−
0
View file @
6d513c49
[source]
tar
=
"https://ftp.gnu.org/gnu/ncurses/ncurses-6.4.tar.gz"
blake3
=
"0d1c9fdf53c0ca4bd66ba707d49a079d2dd6f5a960cdec74a56e29952c4ffe73"
[build]
template
=
"custom"
script
=
"""
COOKBOOK_CONFIGURE_FLAGS+=(
--disable-db-install
--without-ada
--without-cxx-binding
--without-tests
cf_cv_func_mkstemp=yes
)
cookbook_configure
rm -rfv "${COOKBOOK_STAGE}/bin" "${COOKBOOK_STAGE}/share/"{doc,info,man}
"""
[package]
dependencies
=
[
"terminfo"
,
]
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