Fix service recipe build dependencies.
This commit is contained in:
parent
749f0b9772
commit
936e2d5b42
@ -1,7 +1,7 @@
|
|||||||
name: service
|
name: service
|
||||||
version: 0.0.1
|
version: 0.0.1
|
||||||
sources: https://git.karchnu.fr/WeirdOS/service/archive/75e500adcf75b8cf0210a7271cdd5a9109988eae.tar.gz
|
sources: https://git.karchnu.fr/WeirdOS/service/archive/75e500adcf75b8cf0210a7271cdd5a9109988eae.tar.gz -> %{name}-%{version}.tar.gz
|
||||||
build-dependencies: crystal, build.zsh
|
build-dependencies: crystal, build.zsh, make, git
|
||||||
# FIXME: FIXME: Build this statically in.
|
# FIXME: FIXME: Build this statically in.
|
||||||
dependencies: gc, libevent, pcre
|
dependencies: gc, libevent, pcre
|
||||||
|
|
||||||
@ -10,9 +10,11 @@ dirname: service
|
|||||||
cd %{dirname}
|
cd %{dirname}
|
||||||
build.zsh -c
|
build.zsh -c
|
||||||
shards install
|
shards install
|
||||||
|
|
||||||
@build
|
@build
|
||||||
cd %{dirname}
|
cd %{dirname}
|
||||||
CRYSTAL_PATH="$(crystal env CRYSTAL_PATH):lib" make PREFIX=/usr
|
CRYSTAL_PATH="$(crystal env CRYSTAL_PATH):lib" make PREFIX=/usr
|
||||||
|
|
||||||
@install
|
@install
|
||||||
cd %{dirname}
|
cd %{dirname}
|
||||||
make PREFIX=/usr DESTDIR="%{pkg}" install
|
make PREFIX=/usr DESTDIR="%{pkg}" install
|
||||||
|
Reference in New Issue
Block a user