Obsolete
/
recipes
Archived
3
0
Fork 0
This repository has been archived on 2022-01-17. You can view files and clone it, but cannot push or open issues/pull-requests.
recipes/package/recipe.spec

19 lines
498 B
Plaintext
Raw Normal View History

name: package
version: 0.0.1
release: 1
2019-08-26 05:36:40 +02:00
sources: https://git.karchnu.fr/WeirdOS/package/archive/832edb5f8d982019d5d106acc78161a5f90863cf.tar.gz -> %{name}-%{version}.tar.gz
build-dependencies: crystal, shards
# FIXME: FIXME: Build this statically in.
dependencies: gc, libevent, pcre
dirname: package
@configure
cd %{dirname}
shards install
@build
cd %{dirname}
CRYSTAL_PATH="$(crystal env CRYSTAL_PATH):lib" make PREFIX=/usr
@install
cd %{dirname}
make PREFIX=/usr DESTDIR="%{pkg}" install