From 1045502d8a908cf8dcd5f42d765becbdab5ca783 Mon Sep 17 00:00:00 2001 From: Luka Vandervelden Date: Sat, 20 Jul 2019 15:00:11 +0200 Subject: [PATCH] Test recipes added. --- src/main.cr | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/main.cr b/src/main.cr index ef480c5..161ad59 100644 --- a/src/main.cr +++ b/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