This is largely based on jessicah's work, with a few changes:
- Use haikuporter for patching, downloading and extracting things.
- Repackaged the bootstrap binary archive, because it had a file
hardlinked to itself (?) which confuses our python extractor (plain tar
seems to handle this just fine).
- Remove all the packages included in the recipe, I'll try to get them
built in spearate recipes instead.
nhc is an Haskell compiler which is easily bootstrappable from C (unlike
ghc). The downsides are:
- It's slower
- It only implements Haskell 98
It may be usable to build GHC or some other Haskell based software,
we'll see.
This change includes both the rust and rust_bin recipe. The remark
regarding the memory usage of the build on Haiku remains, that's
why the build is marked as untested. I have, however, tested the
recipe up to the point where the main build starts so the odds are
good that it might build.
Also remove the rust~dev recipe for the 1.22 version.
The rust_bin recipe is built of binary artifacts. The main reason is
that the 32 bit version can no longer be built on Haiku, because it
crosses a hard memory limit. Perhaps this changes later on. In any case,
an added advantage is that this makes the package buildable by the
buildbots.
For documentation purposes, a regular rust recipe is also provided. This
will probably run on a x86_64 machine with a decent amount of RAM. The
package depends on rustc and cargo being available for the same version.
This makes it both buildable from the rust_bin and the rust recipe.