Test recipes added.
This commit is contained in:
parent
f921798fd9
commit
1045502d8a
16
src/main.cr
16
src/main.cr
@ -34,6 +34,22 @@ recipes << Recipe.new(context, "hello", "2.10").tap do |recipe|
|
||||
#end
|
||||
end
|
||||
|
||||
# Be careful with that one. It’s not configured to use proper prefixes.
|
||||
# (Not sure that it should though. It’s gotta put things in /sbin anyway.)
|
||||
recipes << Recipe.new(context, "sysvinit", "2.95").tap do |recipe|
|
||||
recipe.sources << "https://git.savannah.nongnu.org/cgit/sysvinit.git/snapshot/sysvinit-#{recipe.version}.tar.gz"
|
||||
recipe.url = "https://savannah.nongnu.org/projects/sysvinit"
|
||||
recipe.description = "System V-like init system."
|
||||
|
||||
recipe.instructions.install << "cd sysvinit-#{recipe.version} && make ROOT='#{recipe.fake_root_directory}' install"
|
||||
end
|
||||
|
||||
recipes << Recipe.new(context, "musl", "1.1.23").tap do |recipe|
|
||||
recipe.sources << "https://www.musl-libc.org/releases/musl-#{recipe.version}.tar.gz"
|
||||
recipe.url = "https://www.musl-libc.org/"
|
||||
recipe.description = "The musl c library (libc) implementation."
|
||||
end
|
||||
|
||||
if ARGV.size == 0 || ARGV[0]? == "-h"
|
||||
pp recipes.map &.name
|
||||
exit 0
|
||||
|
Reference in New Issue
Block a user