Recipes for package
and service
added.
This commit is contained in:
parent
a5e68e70c6
commit
079f71214a
18
package/recipe.spec
Normal file
18
package/recipe.spec
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
name: package
|
||||||
|
version: 0.0.1
|
||||||
|
release: 1
|
||||||
|
sources: https://git.karchnu.fr/WeirdOS/package/archive/832edb5f8d982019d5d106acc78161a5f90863cf.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
|
@ -1,4 +1,18 @@
|
|||||||
name: service
|
name: service
|
||||||
version: 0.0.1
|
version: 0.0.1
|
||||||
release: 1
|
sources: https://git.karchnu.fr/WeirdOS/service/archive/75e500adcf75b8cf0210a7271cdd5a9109988eae.tar.gz
|
||||||
sources:
|
build-dependencies: crystal, build.zsh
|
||||||
|
# FIXME: FIXME: Build this statically in.
|
||||||
|
dependencies: gc, libevent, pcre
|
||||||
|
|
||||||
|
dirname: service
|
||||||
|
@configure
|
||||||
|
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
|
||||||
|
Reference in New Issue
Block a user