diff --git a/.gitignore b/.gitignore index d7b46fb..e9d235d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ *.gz *.xz +*.bz2 +x86_64/ diff --git a/build.zsh/recipe.spec b/build.zsh/recipe.spec index d5ed17d..dba57a0 100644 --- a/build.zsh/recipe.spec +++ b/build.zsh/recipe.spec @@ -1,5 +1,5 @@ name: build.zsh -version: 0.3.0 +version: 0.3.1 release: 1 sources: https://github.com/Lukc/build.zsh/archive/%{version}.tar.gz -> %{name}-%{version}.tar.gz diff --git a/flex/recipe.spec b/flex/recipe.spec new file mode 100644 index 0000000..b3698be --- /dev/null +++ b/flex/recipe.spec @@ -0,0 +1,7 @@ +name: flex +version: 2.6.4 +release: 1 +sources: https://github.com/westes/flex/files/981163/flex-%{version}.tar.gz + +build-dependancies: + - make diff --git a/libargp/recipe.spec b/libargp/recipe.spec new file mode 100644 index 0000000..1abde13 --- /dev/null +++ b/libargp/recipe.spec @@ -0,0 +1,13 @@ +name: libargp +version: 1.3-1 +release: 1 +sources: https://github.com/amylum/libargp/releases/download/%{version}/libargp.tar.gz -> %{name}-%{version}.tar.gz + +@configure + mv * ../root + +@build + true + +@install + true diff --git a/libipc/recipe.spec b/libipc/recipe.spec new file mode 100644 index 0000000..5c61434 --- /dev/null +++ b/libipc/recipe.spec @@ -0,0 +1,23 @@ +name: libipc +version: 0.2.1 +release: 1 +sources: https://git.karchnu.fr/WeirdOS/libipc/archive/libipc-%{version}.tar.gz + +dirname: %{name} +dependencies: + - make + +@configure + true + +# TODO: do not use pandoc, use scdoc instead so we can build the manual too +# Rationale: pandoc is not a priority to package. + +@build + cd %{dirname} + make libipc + make src/ipc.h + +@install + cd %{dirname} + make DESTDIR="%{pkg}" install diff --git a/llvm/recipe.spec b/llvm/recipe.spec new file mode 100644 index 0000000..6e222c2 --- /dev/null +++ b/llvm/recipe.spec @@ -0,0 +1,37 @@ +name: llvm +version: 8.0.1 +release: 1 +sources: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/llvm-%{version}.src.tar.xz +dependencies: + - libffi + +@configure + mkdir %{name}-%{version} + cd %{name}-%{version} && \ + cmake ../llvm-%{version}.src \ + -DCMAKE_INSTALL_PREFIX=/usr/weirdos/%{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" + + # when llvm-8 won't be the lastest LLVM version anymore + # -DCMAKE_INSTALL_PREFIX=/usr/bad/%{name} + +@build + cd %{name}-%{version} + make -j 4 diff --git a/rsync/recipe.spec b/rsync/recipe.spec new file mode 100644 index 0000000..dfba2b7 --- /dev/null +++ b/rsync/recipe.spec @@ -0,0 +1,4 @@ +name: rsync +version: 3.1.3 +release: 1 +sources: https://download.samba.org/pub/rsync/src/rsync-%{version}.tar.gz diff --git a/scdoc/recipe.spec b/scdoc/recipe.spec new file mode 100644 index 0000000..7504dbf --- /dev/null +++ b/scdoc/recipe.spec @@ -0,0 +1,7 @@ +name: scdoc +version: 1.9.7 +release: 1 +sources: https://git.sr.ht/~sircmpwn/scdoc/archive/%{version}.tar.gz -> %{name}-%{version}.tar.gz + +@configure + true