Fix clang, openrc #14

Merged
hippoz merged 10 commits from Ohio2/repo:master into master 2021-07-09 17:26:54 +03:00
4 changed files with 16 additions and 6 deletions

View file

@ -1,8 +1,7 @@
wget https://github.com/llvm/llvm-project/releases/download/llvmorg-12.0.0/clang+llvm-12.0.0-x86_64-linux-gnu-ubuntu-20.04.tar.xz
Outdated
Review

g

g
tar -xf clang+llvm-12.0.0-x86_64-linux-gnu-ubuntu-20.04.tar.xz
cd clang+llvm-12.0.0-x86_64-linux-gnu-ubuntu-20.04
Outdated
Review

q

q
Outdated
Review

old

old
cd OBJ_ROOT
cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX="$1"/usr/bin
Outdated
Review

s

s
wget https://github.com/llvm/llvm-project/releases/download/llvmorg-12.0.1/clang-12.0.1.src.tar.xz
Outdated
Review

a

a
untar -xf clang-12.0.1.src.tar.xz
cd clang-12.0.1.src
Outdated
Review

e

e
cmake -S llvm -G "Unix Makefiles" -B build -DCMAKE_INSTALL_PREFIX="$1"/usr/bin
make
make install DESTDIR="$1"

6
openrc/build Executable file
View file

@ -0,0 +1,6 @@
wget -O openrc-0.43.3.tar.gz https://github.com/OpenRC/openrc/archive/refs/tags/0.43.3.tar.gz
tar -xf openrc-0.43.3.tar.gz
cd openrc-0.43.3
make
make install BRANDING=\"Alnux/$(uname -s)\" SH=/bin/sh DESTDIR="$1"/sbin/openrc PREFIX="$1"
cat tmpfs /tmp tmpfs rw,nosuid,noatime,nodev,size=20G,mode=1777 0 0 > "$1"/etc/fstab

5
openrc/package Executable file
View file

@ -0,0 +1,5 @@
pkg_config_deploy=true
pkg_config_ver="0.43.3"
pkg_config_name="openrc"
pkg_config_makedepends=""
pkg_config_depends="make"