plumberd suite: static compilation
This commit is contained in:
parent
2fa08ecc27
commit
f5e9438cc1
@ -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
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user