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