diff --git a/libipc/recipe.spec b/libipc/recipe.spec new file mode 100644 index 0000000..5c61434 --- /dev/null +++ b/libipc/recipe.spec @@ -0,0 +1,23 @@ +name: libipc +version: 0.2.1 +release: 1 +sources: https://git.karchnu.fr/WeirdOS/libipc/archive/libipc-%{version}.tar.gz + +dirname: %{name} +dependencies: + - make + +@configure + true + +# TODO: do not use pandoc, use scdoc instead so we can build the manual too +# Rationale: pandoc is not a priority to package. + +@build + cd %{dirname} + make libipc + make src/ipc.h + +@install + cd %{dirname} + make DESTDIR="%{pkg}" install