Obsolete
/
recipes
Archived
3
0
Fork 0

plumberd suite: static compilation

master
Philippe PITTOLI 2019-11-05 01:30:36 +01:00
parent 2fa08ecc27
commit f5e9438cc1
1 changed files with 7 additions and 4 deletions

View File

@ -1,10 +1,12 @@
name: plumberd
release: 1
release: 2
version: 0.0.1
sources: https://git.karchnu.fr/WeirdOS/%{name}/archive/%{name}-%{version}.tar.gz
build-dependencies: ipc.cr, crystal, crystal-dev, make
dependencies: libipc
build-dependencies: ipc.cr, crystal, crystal-dev, make, gc-dev, pcre-dev, musl-dev
# no dependencies since these programs are statically compiled
# dependencies: libipc
dirname: %{name}
@ -13,12 +15,13 @@ dirname: %{name}
@build
cd %{dirname}
make
make CRFLAGS=--static
@install
cd %{dirname}
make PREFIX=%{prefix} DESTDIR="%{pkg}" install
%split websocketd
files: %{prefix}/bin/websocketd