plumberd suite: static compilation
parent
2fa08ecc27
commit
f5e9438cc1
|
@ -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
|
||||
|
||||
|
|
Reference in New Issue