From ed0b19048a2ce61c46fba5478b42dfe68c0a2543 Mon Sep 17 00:00:00 2001 From: Philippe PITTOLI Date: Sat, 24 Aug 2019 18:01:46 +0200 Subject: [PATCH 1/5] Shards recipe. --- shards/recipe.spec | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 shards/recipe.spec diff --git a/shards/recipe.spec b/shards/recipe.spec new file mode 100644 index 0000000..ad4e440 --- /dev/null +++ b/shards/recipe.spec @@ -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 From 915b96188d7c26386d870315ad38f0d546e4221f Mon Sep 17 00:00:00 2001 From: Philippe PITTOLI Date: Sat, 24 Aug 2019 19:29:49 +0200 Subject: [PATCH 2/5] Fix LLVM recipes. --- llvm-6/recipe.spec | 9 ++++----- llvm-7/recipe.spec | 9 ++++----- llvm-8/recipe.spec | 9 ++++----- 3 files changed, 12 insertions(+), 15 deletions(-) diff --git a/llvm-6/recipe.spec b/llvm-6/recipe.spec index b30320a..31fc4fa 100644 --- a/llvm-6/recipe.spec +++ b/llvm-6/recipe.spec @@ -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 diff --git a/llvm-7/recipe.spec b/llvm-7/recipe.spec index f5bfba2..6eb5a15 100644 --- a/llvm-7/recipe.spec +++ b/llvm-7/recipe.spec @@ -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 diff --git a/llvm-8/recipe.spec b/llvm-8/recipe.spec index f0b298c..a9cf246 100644 --- a/llvm-8/recipe.spec +++ b/llvm-8/recipe.spec @@ -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 From c4d931b3dccea821e5b8e535b3203ec238af250c Mon Sep 17 00:00:00 2001 From: Philippe PITTOLI Date: Sun, 25 Aug 2019 15:46:50 +0200 Subject: [PATCH 3/5] build.zsh recipe. --- build.zsh/recipe.spec | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 build.zsh/recipe.spec diff --git a/build.zsh/recipe.spec b/build.zsh/recipe.spec new file mode 100644 index 0000000..d5ed17d --- /dev/null +++ b/build.zsh/recipe.spec @@ -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 From b1b42b10115d45802eac2f4470e2062728d14aeb Mon Sep 17 00:00:00 2001 From: Philippe PITTOLI Date: Sun, 25 Aug 2019 15:47:34 +0200 Subject: [PATCH 4/5] curl recipe (includes both the tool and the library). --- curl/recipe.spec | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 curl/recipe.spec diff --git a/curl/recipe.spec b/curl/recipe.spec new file mode 100644 index 0000000..f5f8db6 --- /dev/null +++ b/curl/recipe.spec @@ -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 From 749f0b9772b1b4262594a9a3171dbde623098db2 Mon Sep 17 00:00:00 2001 From: Philippe PITTOLI Date: Sun, 25 Aug 2019 15:48:59 +0200 Subject: [PATCH 5/5] Adding a git ignore file (ignoring tarballs). --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d7b46fb --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +*.gz +*.xz