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-15 17:31:51 +02:00
|
|
|
name: package
|
2019-08-26 14:53:23 +02:00
|
|
|
version: 0.2.0
|
2019-08-15 17:31:51 +02:00
|
|
|
release: 1
|
2019-08-26 14:53:23 +02:00
|
|
|
sources: https://git.karchnu.fr/WeirdOS/package/archive/%{version}.tar.gz -> %{name}-%{version}.tar.gz
|
2019-08-15 17:31:51 +02:00
|
|
|
build-dependencies: crystal, shards
|
|
|
|
# FIXME: FIXME: Build this statically in.
|
|
|
|
dependencies: gc, libevent, pcre
|
|
|
|
|
|
|
|
dirname: package
|
|
|
|
@configure
|
|
|
|
cd %{dirname}
|
|
|
|
shards install
|
|
|
|
@build
|
|
|
|
cd %{dirname}
|
2019-08-26 14:53:23 +02:00
|
|
|
make PREFIX=/usr
|
2019-08-15 17:31:51 +02:00
|
|
|
@install
|
|
|
|
cd %{dirname}
|
|
|
|
make PREFIX=/usr DESTDIR="%{pkg}" install
|