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

master
Luka Vandervelden 2019-08-29 00:54:12 +02:00
commit 34edf58024
8 changed files with 94 additions and 1 deletions

2
.gitignore vendored
View File

@ -1,2 +1,4 @@
*.gz
*.xz
*.bz2
x86_64/

View File

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

7
flex/recipe.spec Normal file
View File

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

13
libargp/recipe.spec Normal file
View File

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

23
libipc/recipe.spec Normal file
View File

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

37
llvm/recipe.spec Normal file
View File

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

4
rsync/recipe.spec Normal file
View File

@ -0,0 +1,4 @@
name: rsync
version: 3.1.3
release: 1
sources: https://download.samba.org/pub/rsync/src/rsync-%{version}.tar.gz

7
scdoc/recipe.spec Normal file
View File

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