Merge pull request 'Fix clang, openrc' (#14) from Ohio2/repo:master into master

Reviewed-on: alnux/repo#14
This commit is contained in:
hippoz 2021-07-09 15:26:52 +01:00
commit afa0d66f27
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 wget https://github.com/llvm/llvm-project/releases/download/llvmorg-12.0.1/clang-12.0.1.src.tar.xz
tar -xf clang+llvm-12.0.0-x86_64-linux-gnu-ubuntu-20.04.tar.xz untar -xf clang-12.0.1.src.tar.xz
cd clang+llvm-12.0.0-x86_64-linux-gnu-ubuntu-20.04 cd clang-12.0.1.src
cd OBJ_ROOT cmake -S llvm -G "Unix Makefiles" -B build -DCMAKE_INSTALL_PREFIX="$1"/usr/bin
cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX="$1"/usr/bin
make make
make install DESTDIR="$1" 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"