New recipe: networkctl

master
Philippe PITTOLI 2019-11-05 01:33:03 +01:00
parent 6e28a2f681
commit 499df8ea7d
1 changed files with 19 additions and 0 deletions

19
networkctl/recipe.spec Normal file
View File

@ -0,0 +1,19 @@
name: networkctl
release: 1
version: 0.0.1
sources: https://git.karchnu.fr/WeirdOS/%{name}/archive/%{name}-%{version}.tar.gz
build-dependencies: gc-dev, pcre-dev, crystal, crystal-dev, musl-dev, make, ipaddress.cr
dirname: %{name}
@configure
true
@build
cd %{dirname}
make CRFLAGS=--static
@install
cd %{dirname}
make PREFIX="%{prefix}" DESTDIR="%{pkg}" install