Obsolete
/
recipes
Archived
3
0
Fork 0

Merge branch 'master' of ssh://git.karchnu.fr:2202/WeirdOS/recipes

master
Luka Vandervelden 2019-09-04 16:41:47 +02:00
commit 061f0f0d48
5 changed files with 36 additions and 11 deletions

View File

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

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

View File

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

View File

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

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/