diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d7b46fb --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +*.gz +*.xz 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 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 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 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