Obsolete
/
recipes
Archived
3
0
Fork 0

Fix service recipe build dependencies.

master
Philippe PITTOLI 2019-08-25 19:50:34 +02:00
parent 749f0b9772
commit 936e2d5b42
1 changed files with 4 additions and 2 deletions

View File

@ -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