Archived
3
0

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

This commit is contained in:
Luka Vandervelden 2019-08-25 17:24:15 +02:00
commit 0f2bf9553a
7 changed files with 53 additions and 15 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
*.gz
*.xz

8
build.zsh/recipe.spec Normal file
View File

@ -0,0 +1,8 @@
name: build.zsh
version: 0.3.0
release: 1
sources: https://github.com/Lukc/build.zsh/archive/%{version}.tar.gz -> %{name}-%{version}.tar.gz
dependencies:
- make
- zsh

20
curl/recipe.spec Normal file
View File

@ -0,0 +1,20 @@
name: curl
version: 7.65.3
release: 1
sources: https://curl.haxx.se/download/curl-%{version}.tar.gz
build-dependencies: make, openssl-dev
dirname: %{name}-%{version}
@configure
cd %{dirname}
./configure \
--enable-ipv6 \
--enable-unix-sockets \
--enable-static \
--enable-openssl \
--without-libidn \
--without-libidn2 \
--with-nghttp2 \
--disable-ldap \
--with-pic \
--without-libssh2 # https://bugs.alpinelinux.org/issues/10222

View File

@ -6,12 +6,11 @@ dependencies:
- libffi
@configure
mkdir llvm-6-%{version}
cd llvm-6-%{version} && cmake ../llvm-%{version}.src -DCMAKE_INSTALL_PREFIX=/usr/bad/llvm-6 -DLLVM_BUILD_DOCS=OFF -DLLVM_BUILD_EXAMPLES=OFF -DLLVM_BUILD_EXTERNAL_COMPILER_RT=ON -DLLVM_BUILD_LLVM_DYLIB=ON -DLLVM_ENABLE_ASSERTIONS=OFF -DLLVM_ENABLE_CXX1Y=ON -DLLVM_ENABLE_FFI=ON -DLLVM_ENABLE_LIBCXX=OFF -DLLVM_ENABLE_PIC=ON -DLLVM_ENABLE_RTTI=ON -DLLVM_ENABLE_SPHINX=OFF -DLLVM_ENABLE_TERMINFO=ON -DLLVM_ENABLE_ZLIB=ON -DLLVM_INCLUDE_EXAMPLES=OFF -DLLVM_LINK_LLVM_DYLIB=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="-fPIC -O2" -DCMAKE_C_FLAGS="-fPIC -O2"
mkdir %{name}-%{version}
cd %{name}-%{version} && cmake ../llvm-%{version}.src -DCMAKE_INSTALL_PREFIX=/usr/bad/%{name} -DLLVM_BUILD_DOCS=OFF -DLLVM_BUILD_EXAMPLES=OFF -DLLVM_BUILD_EXTERNAL_COMPILER_RT=ON -DLLVM_BUILD_LLVM_DYLIB=ON -DLLVM_ENABLE_ASSERTIONS=OFF -DLLVM_ENABLE_CXX1Y=ON -DLLVM_ENABLE_FFI=ON -DLLVM_ENABLE_LIBCXX=OFF -DLLVM_ENABLE_PIC=ON -DLLVM_ENABLE_RTTI=ON -DLLVM_ENABLE_SPHINX=OFF -DLLVM_ENABLE_TERMINFO=ON -DLLVM_ENABLE_ZLIB=ON -DLLVM_INCLUDE_EXAMPLES=OFF -DLLVM_LINK_LLVM_DYLIB=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="-fPIC -O2" -DCMAKE_C_FLAGS="-fPIC -O2"
@build
pwd && ls && cd llvm-6-%{version} && make
pwd && ls && cd %{name}-%{version} && make
@install
cd llvm-6-%{version} && make DESTDIR='%{pkg}' %{name}
cd %{name}-%{version} && make DESTDIR='%{pkg}' install

View File

@ -6,12 +6,11 @@ dependencies:
- libffi
@configure
mkdir llvm-7-%{version}
cd llvm-7-%{version} && cmake ../llvm-%{version}.src -DCMAKE_INSTALL_PREFIX=/usr/bad/llvm-7 -DLLVM_BUILD_DOCS=OFF -DLLVM_BUILD_EXAMPLES=OFF -DLLVM_BUILD_EXTERNAL_COMPILER_RT=ON -DLLVM_BUILD_LLVM_DYLIB=ON -DLLVM_ENABLE_ASSERTIONS=OFF -DLLVM_ENABLE_CXX1Y=ON -DLLVM_ENABLE_FFI=ON -DLLVM_ENABLE_LIBCXX=OFF -DLLVM_ENABLE_PIC=ON -DLLVM_ENABLE_RTTI=ON -DLLVM_ENABLE_SPHINX=OFF -DLLVM_ENABLE_TERMINFO=ON -DLLVM_ENABLE_ZLIB=ON -DLLVM_INCLUDE_EXAMPLES=OFF -DLLVM_LINK_LLVM_DYLIB=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="-fPIC -O2" -DCMAKE_C_FLAGS="-fPIC -O2"
mkdir %{name}-%{version}
cd %{name}-%{version} && cmake ../llvm-%{version}.src -DCMAKE_INSTALL_PREFIX=/usr/bad/%{name} -DLLVM_BUILD_DOCS=OFF -DLLVM_BUILD_EXAMPLES=OFF -DLLVM_BUILD_EXTERNAL_COMPILER_RT=ON -DLLVM_BUILD_LLVM_DYLIB=ON -DLLVM_ENABLE_ASSERTIONS=OFF -DLLVM_ENABLE_CXX1Y=ON -DLLVM_ENABLE_FFI=ON -DLLVM_ENABLE_LIBCXX=OFF -DLLVM_ENABLE_PIC=ON -DLLVM_ENABLE_RTTI=ON -DLLVM_ENABLE_SPHINX=OFF -DLLVM_ENABLE_TERMINFO=ON -DLLVM_ENABLE_ZLIB=ON -DLLVM_INCLUDE_EXAMPLES=OFF -DLLVM_LINK_LLVM_DYLIB=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="-fPIC -O2" -DCMAKE_C_FLAGS="-fPIC -O2"
@build
pwd && ls && cd llvm-7-%{version} && make
pwd && ls && cd %{name}-%{version} && make
@install
cd llvm-7-%{version} && make DESTDIR='%{pkg}' %{name}
cd %{name}-%{version} && make DESTDIR='%{pkg}' install

View File

@ -6,12 +6,11 @@ dependencies:
- libffi
@configure
mkdir llvm-8-%{version}
cd llvm-8-%{version} && cmake ../llvm-%{version}.src -DCMAKE_INSTALL_PREFIX=/usr/bad/llvm-8 -DLLVM_BUILD_DOCS=OFF -DLLVM_BUILD_EXAMPLES=OFF -DLLVM_BUILD_EXTERNAL_COMPILER_RT=ON -DLLVM_BUILD_LLVM_DYLIB=ON -DLLVM_ENABLE_ASSERTIONS=OFF -DLLVM_ENABLE_CXX1Y=ON -DLLVM_ENABLE_FFI=ON -DLLVM_ENABLE_LIBCXX=OFF -DLLVM_ENABLE_PIC=ON -DLLVM_ENABLE_RTTI=ON -DLLVM_ENABLE_SPHINX=OFF -DLLVM_ENABLE_TERMINFO=ON -DLLVM_ENABLE_ZLIB=ON -DLLVM_INCLUDE_EXAMPLES=OFF -DLLVM_LINK_LLVM_DYLIB=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="-fPIC -O2" -DCMAKE_C_FLAGS="-fPIC -O2"
mkdir %{name}-%{version}
cd %{name}-%{version} && cmake ../llvm-%{version}.src -DCMAKE_INSTALL_PREFIX=/usr/bad/%{name} -DLLVM_BUILD_DOCS=OFF -DLLVM_BUILD_EXAMPLES=OFF -DLLVM_BUILD_EXTERNAL_COMPILER_RT=ON -DLLVM_BUILD_LLVM_DYLIB=ON -DLLVM_ENABLE_ASSERTIONS=OFF -DLLVM_ENABLE_CXX1Y=ON -DLLVM_ENABLE_FFI=ON -DLLVM_ENABLE_LIBCXX=OFF -DLLVM_ENABLE_PIC=ON -DLLVM_ENABLE_RTTI=ON -DLLVM_ENABLE_SPHINX=OFF -DLLVM_ENABLE_TERMINFO=ON -DLLVM_ENABLE_ZLIB=ON -DLLVM_INCLUDE_EXAMPLES=OFF -DLLVM_LINK_LLVM_DYLIB=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="-fPIC -O2" -DCMAKE_C_FLAGS="-fPIC -O2"
@build
pwd && ls && cd llvm-8-%{version} && make
pwd && ls && cd %{name}-%{version} && make
@install
cd llvm-8-%{version} && make DESTDIR='%{pkg}' %{name}
cd %{name}-%{version} && make DESTDIR='%{pkg}' install

11
shards/recipe.spec Normal file
View File

@ -0,0 +1,11 @@
name: shards
version: 0.9.0
release: 1
sources: https://github.com/crystal-lang/shards/archive/v%{version}.tar.gz -> %{name}-%{version}.tar.gz
dependencies:
- crystal
- make
@configure
true