This repository has been archived on 2022-01-17. You can view files and clone it, but cannot push or open issues/pull-requests.
recipes/plumberd/recipe.spec

42 lines
714 B
Plaintext

name: plumberd
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, gc-dev, pcre-dev, musl-dev
# no dependencies since these programs are statically compiled
# dependencies: libipc
dirname: %{name}
@configure
true
@build
cd %{dirname}
make CRFLAGS=--static
@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