diff --git a/binutils/recipe.spec b/binutils/recipe.spec index 9184776..73c2b0d 100644 --- a/binutils/recipe.spec +++ b/binutils/recipe.spec @@ -1,6 +1,6 @@ name: binutils version: 2.32 -release: 1 +release: 2 sources: https://ftp.gnu.org/gnu/binutils/binutils-%{version}.tar.xz options: - configure: --disable-multilib --with-pic --disable-nls @@ -8,5 +8,6 @@ options: - make: tooldir=/usr @install - cd binutils-%{version} && make 'DESTDIR=%{pkg}' tooldir=/usr install && rm '%{pkg}/usr/bin/strings' - + cd binutils-%{version} + make 'DESTDIR=%{pkg}' tooldir=/usr install + rm '%{pkg}/%{prefix}/bin/strings' 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/gcc/recipe.spec b/gcc/recipe.spec index a3bc2ad..91282de 100644 --- a/gcc/recipe.spec +++ b/gcc/recipe.spec @@ -19,8 +19,8 @@ dirname: build fi ../gcc-%{version}/configure \ - --prefix=/usr \ - --libdir=/usr/lib \ + --prefix=%{prefix} \ + --libdir=%{prefix}/lib \ --disable-multilib \ --disable-libssp \ --disable-libmpx \ @@ -32,4 +32,3 @@ dirname: build --target=x86_64-weird-linux-musl \ --build=x86_64-weird-linux-musl \ --host=x86_64-weird-linux-musl - diff --git a/package/recipe.spec b/package/recipe.spec index f9724af..edbd13c 100644 --- a/package/recipe.spec +++ b/package/recipe.spec @@ -1,11 +1,11 @@ name: package -version: 0.6.0 -release: 3 +version: 0.7.0 +release: 1 sources: - https://git.karchnu.fr/WeirdOS/package/archive/%{version}.tar.gz -> %{name}-%{version}.tar.gz - config.cfg -build-dependencies: crystal, shards +build-dependencies: crystal, spec-parser # FIXME: FIXME: Build this statically in. # FIXME: bsdtar should be split out so that we depend only on it. # Busybox is required mostly for `wget`. @@ -14,8 +14,8 @@ dependencies: gc, libevent, pcre, libarchive, busybox, zsh, abuild, gnutar dirname: package @configure - cd %{dirname} - shards install + true + @build cd %{dirname} make PREFIX="%{prefix}" SYSCONFDIR="/etc" 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/