From 936e2d5b42a78cf5b3e20ccf67eaeb00fc4116bc Mon Sep 17 00:00:00 2001 From: Philippe PITTOLI Date: Sun, 25 Aug 2019 19:50:34 +0200 Subject: [PATCH] Fix service recipe build dependencies. --- service/recipe.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/service/recipe.spec b/service/recipe.spec index 7238995..5b4c9d0 100644 --- a/service/recipe.spec +++ b/service/recipe.spec @@ -1,7 +1,7 @@ name: service version: 0.0.1 -sources: https://git.karchnu.fr/WeirdOS/service/archive/75e500adcf75b8cf0210a7271cdd5a9109988eae.tar.gz -build-dependencies: crystal, build.zsh +sources: https://git.karchnu.fr/WeirdOS/service/archive/75e500adcf75b8cf0210a7271cdd5a9109988eae.tar.gz -> %{name}-%{version}.tar.gz +build-dependencies: crystal, build.zsh, make, git # FIXME: FIXME: Build this statically in. dependencies: gc, libevent, pcre @@ -10,9 +10,11 @@ dirname: service cd %{dirname} build.zsh -c shards install + @build cd %{dirname} CRYSTAL_PATH="$(crystal env CRYSTAL_PATH):lib" make PREFIX=/usr + @install cd %{dirname} make PREFIX=/usr DESTDIR="%{pkg}" install