Archived
3
0

New recipe: plumberd (splits: tcp[cd], websocket[cd], plumberd, pong[cd])

This commit is contained in:
Philippe PITTOLI 2019-11-04 15:56:05 +01:00
parent ccd48292af
commit 01402ca2e5

38
plumberd/recipe.spec Normal file
View File

@ -0,0 +1,38 @@
name: plumberd
release: 1
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
dirname: %{name}
@configure
true
@build
cd %{dirname}
make
@install
cd %{dirname}
make PREFIX=%{prefix} DESTDIR="%{pkg}" install
%split websocketd
files: %{prefix}/bin/websocketd
%split pongd
files: %{prefix}/bin/pongd
%split pongc
files: %{prefix}/bin/pongc
%split plumberd
files: %{prefix}/bin/plumberd
%split tcpc
files: %{prefix}/bin/tcpc
%split tcpd
files: %{prefix}/bin/tcpd