From 032aa625843a1736fe8c061200b14ad784d349a3 Mon Sep 17 00:00:00 2001 From: Philippe PITTOLI Date: Wed, 4 Sep 2019 13:43:57 +0200 Subject: [PATCH] new recipes: file, spec-parser --- file/recipe.spec | 9 +++++++++ spec-parser/recipe.spec | 16 ++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 file/recipe.spec create mode 100644 spec-parser/recipe.spec diff --git a/file/recipe.spec b/file/recipe.spec new file mode 100644 index 0000000..8f6baef --- /dev/null +++ b/file/recipe.spec @@ -0,0 +1,9 @@ +name: file +version: 5.37 +release: 1 +sources: ftp://ftp.astron.com/pub/file/file-%{version}.tar.gz +dependencies: zlib +build-dependencies: make, musl-dev, zlib-dev + +options: + - configure: --enable-zlib --disable-libseccomp diff --git a/spec-parser/recipe.spec b/spec-parser/recipe.spec new file mode 100644 index 0000000..cc2addc --- /dev/null +++ b/spec-parser/recipe.spec @@ -0,0 +1,16 @@ +name: spec-parser +release: 2 +version: 0.4.5 +sources: https://git.karchnu.fr/WeirdOS/recipes-parser/archive/spec-parser-%{version}.tar.gz + +@configure + true + +@build + true + +# dirname: %{name}-%{version} +dirname: recipes-parser +@install + mkdir -p %{pkg}/usr/lib/crystal + cp %{dirname}/src/specfileparser.cr %{pkg}/usr/lib/crystal/