Merge pull request 'Fix clang, openrc' (#14) from Ohio2/repo:master into master
Reviewed-on: #14
This commit is contained in:
commit
afa0d66f27
4 changed files with 16 additions and 6 deletions
|
@ -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
|
||||
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
|
||||
cd OBJ_ROOT
|
||||
cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX="$1"/usr/bin
|
||||
wget https://github.com/llvm/llvm-project/releases/download/llvmorg-12.0.1/clang-12.0.1.src.tar.xz
|
||||
untar -xf clang-12.0.1.src.tar.xz
|
||||
cd clang-12.0.1.src
|
||||
cmake -S llvm -G "Unix Makefiles" -B build -DCMAKE_INSTALL_PREFIX="$1"/usr/bin
|
||||
make
|
||||
make install DESTDIR="$1"
|
||||
|
||||
|
|
6
openrc/build
Executable file
6
openrc/build
Executable 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
5
openrc/package
Executable 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"
|
Loading…
Reference in a new issue