From c080fdb142f97b4eb40681de15c6255bb4fd5c76 Mon Sep 17 00:00:00 2001
From: Philippe PITTOLI
Date: Wed, 28 Aug 2019 17:14:59 +0200
Subject: [PATCH] New recipe: libipc.
---
libipc/recipe.spec | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
create mode 100644 libipc/recipe.spec
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