Archived
3
0

plumberd suite: static compilation

This commit is contained in:
Philippe PITTOLI 2019-11-05 01:30:36 +01:00
parent 2fa08ecc27
commit f5e9438cc1

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