Commit Graph

136 Commits

Author SHA1 Message Date
4lDO2
1b5c1fd42b
Fix make clean. 2024-03-23 14:10:29 +01:00
mattmadeofpasta
084a4dedf7
Resume interrupted downloads in shell cookbook 2023-11-25 15:39:19 +00:00
mattmadeofpasta
536118a146
Resume interrupted downloads 2023-11-08 13:11:50 +00:00
Jeremy Soller
ddab2cd9e8
Always remove source.tar when unfetching 2023-09-09 09:15:36 -06:00
joshua Williams
73c662b9da Add Recipe Subfolders 2023-08-09 21:15:42 +00:00
Will Angenent
4a71973e95 Use POSIX -R instead of -r in copy for better portability
In MacOS, -r will exit with 1 if any broken symlinks are
encountered. -r is "implementation-defined" according to POSIX.
-R is well defined.
2023-04-15 08:43:53 +01:00
Will Angenent
9eebc15776 Fix packaging in MacOS
Setting CC= isn't enough in MacOS, AR and RANLIB also need replacing. Without this,
bits are compiled for redox instead of the host leading to linker target mismatches.
2023-04-08 15:22:38 +01:00
Jeremy Soller
c619997825
Remove all references to xargo 2023-02-21 11:52:50 -07:00
Jeremy Soller
3a6c102086
Re-add cook publish and unpublish 2022-11-11 11:53:48 -07:00
Jeremy Soller
a551814a89 Merge branch 'cargo-config-directly' into 'master'
Use the cargo-config binary directly instead of through cargo

See merge request redox-os/cookbook!251
2022-11-11 15:53:48 +00:00
Jeremy Soller
f6f5c0321e
Remove unused cook commands 2022-11-11 08:48:58 -07:00
Jeremy Soller
d7ce4d4d65
Build packages in separate folder per target 2022-11-10 12:03:32 -07:00
Jeremy Soller
e41ec81f19
Adjust for new pkgar 2022-03-17 16:36:46 -06:00
Jeremy Soller
0fc3effc1b
Do not use xargo by default for legacy rust builds 2021-07-14 11:56:49 -06:00
Noah
9fbc7a61d9
Use the cargo-config binary directly instead of through cargo 2021-06-03 09:59:01 -05:00
Wren Turkal
fd88ee9c92 Make clean work when a recipe has no recipe.sh.
Previously, one had to have a recipe.sh in all recipe directories in
order to run `make clean` successfully. This fixes that.

Signed-off-by: Wren Turkal <wt@penguintechs.org>
2020-07-19 01:55:06 -07:00
Jeremy Soller
2d2a107025
Use pkgar for build depends 2020-05-11 20:56:38 -06:00
Jeremy Soller
70bd7b46a4
Fix detection of SHASUM 2020-05-11 19:06:51 -06:00
Xavier L'Heureux
5097c70245
Fix compilation on FreeBSD
`make` is `gmake` on FreeBSD, so add a variable to include this change in command.
2020-05-03 18:55:55 -04:00
Jeremy Soller
cbb8d68e0b
Update pkgar 2020-03-12 20:31:38 -06:00
Jeremy Soller
bd71b54545
Update pkgar 2020-03-11 10:32:41 -06:00
Jeremy Soller
b024d9bf69
WIP: add pkgar support 2020-03-10 21:27:59 -06:00
Jeremy Soller
200a526906
Follow symbolic links 2019-09-22 10:42:51 -06:00
4lDO2
f09958fdcf Allow recipes that are Cargo workspaces to select individual packages,
by adding the CARGO_PACKAGE variable, which passes --package=PKG to
cargo rustc.
2019-09-18 09:54:14 +10:00
Jeremy Soller
e1a5a2cc22
Improve fetch git branch logic 2019-09-15 14:50:08 -06:00
Jeremy Soller
2d7f0c1ec8
Set default branch to master 2019-09-15 13:40:37 -06:00
Jeremy Soller
fae74aae26
Make sure git is on the right branch when running fetch 2019-09-15 13:37:38 -06:00
Jeremy Soller
9dcafe9aca
Add sha256sums file storing a list of every file in a package and their checksum 2019-09-07 20:12:07 -06:00
jD91mZM2
ce8642aa69
Workaround issue in nulld by allowing multiple definitions 2019-06-16 15:09:56 +02:00
jD91mZM2
ab95a71636
New flag: Enable example binaries alongside using EXAMPLES=1 2019-04-25 17:09:57 +02:00
Jeremy Soller
26187c28be
Allow passing of rustflags from prefix to xargo 2019-04-19 21:22:46 -06:00
Jeremy Soller
93185f3995
Make cargo configurable 2019-04-19 19:59:06 -06:00
Jeremy Soller
35439d927d Compile some recipes with LTO 2019-02-25 16:07:56 -07:00
Jeremy Soller
f626f129b3 Use xargo rustc so that rust flags can be passed 2019-02-25 13:11:49 -07:00
Jeremy Soller
23d4711f9a Merge branch 'tar-checksum' into 'master'
Add tar checksum support (SHA-256)

See merge request redox-os/cookbook!195
2018-12-21 20:17:39 +00:00
Jeremy Soller
07ab7dae62
Update llvm and rust recipes 2018-12-14 20:07:46 -07:00
Tibor Nagy
c8ccdf4615 Add tar checksum support (SHA-256) 2018-12-12 01:57:02 +01:00
Jeremy Soller
e865bedd03 Update cook.sh 2018-11-17 23:50:35 +00:00
Alexander Theißen
667b1a43a8 Use the STRIP variable during prepend stage
A hardcoded strip does not work when cross compiling.
2018-11-17 23:26:26 +01:00
jD91mZM2
8e326db131
Resolve symlinks in 'stage' 2018-09-23 19:25:07 +02:00
jD91mZM2
5223ca0da4
Don't print note to STDERR 2018-04-19 08:55:31 +02:00
jD91mZM2
abd11823c2
Fix termplay recipe (sorry) 2018-04-19 08:52:36 +02:00
Jeremy Soller
8456bb9a39 Preserve timestamps on Xargo.toml 2018-03-12 20:59:25 -06:00
Jeremy Soller
7cdcd9b0a1 Fix extrautils build 2018-02-27 21:14:07 -07:00
Jeremy Soller
a1d531d79b Fixes for pkg-config. Add libpng to netsurf 2018-02-27 20:59:13 -07:00
Jeremy Soller
f0f05be025 Fix pkg-config with autotools programs 2018-02-22 20:07:00 -07:00
Jeremy Soller
527599d49c Fix build of newlibtest 2017-12-14 20:05:28 -07:00
Jeremy Soller
ceb3eb73df Cleanup LLVM build in Rust recipe 2017-11-10 09:46:31 -07:00
Jeremy Soller
bf85cd1c30 Update docgen, run on source rather than build directory 2017-10-14 08:50:03 -06:00
Jeremy Soller
47127d627a Run docgen when installing a package 2017-10-14 07:59:35 -06:00