new recipes: file, spec-parser

master
Philippe PITTOLI 2019-09-04 13:43:57 +02:00
parent a073fb6b1f
commit 032aa62584
2 changed files with 25 additions and 0 deletions

9
file/recipe.spec Normal file
View File

@ -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

16
spec-parser/recipe.spec Normal file
View File

@ -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/