This repository has been archived on 2022-01-17. You can view files and clone it, but cannot push or open issues/pull-requests.
2019-08-03 12:06:11 +02:00
|
|
|
name: service
|
|
|
|
version: 0.0.1
|
2019-08-25 19:50:34 +02:00
|
|
|
sources: https://git.karchnu.fr/WeirdOS/service/archive/75e500adcf75b8cf0210a7271cdd5a9109988eae.tar.gz -> %{name}-%{version}.tar.gz
|
|
|
|
build-dependencies: crystal, build.zsh, make, git
|
2019-08-15 17:31:51 +02:00
|
|
|
# FIXME: FIXME: Build this statically in.
|
|
|
|
dependencies: gc, libevent, pcre
|
|
|
|
|
|
|
|
dirname: service
|
|
|
|
@configure
|
|
|
|
cd %{dirname}
|
|
|
|
build.zsh -c
|
|
|
|
shards install
|
2019-08-25 19:50:34 +02:00
|
|
|
|
2019-08-15 17:31:51 +02:00
|
|
|
@build
|
|
|
|
cd %{dirname}
|
|
|
|
CRYSTAL_PATH="$(crystal env CRYSTAL_PATH):lib" make PREFIX=/usr
|
2019-08-25 19:50:34 +02:00
|
|
|
|
2019-08-15 17:31:51 +02:00
|
|
|
@install
|
|
|
|
cd %{dirname}
|
|
|
|
make PREFIX=/usr DESTDIR="%{pkg}" install
|