Эх сурвалжийг харах

contrib: Void linux setup script added, doc: dependencies info updated

aggstam 4 жил өмнө
parent
commit
79f1ea875b
2 өөрчлөгдсөн 23 нэмэгдсэн , 5 устгасан
  1. 7 5
      README.md
  2. 16 0
      contrib/void_setup.sh

+ 7 - 5
README.md

@@ -37,15 +37,17 @@ to install the required dependencies:
     libexpat1-dev
 ```
 
-Alternatively users can use the automated script in
-`contrib/mac_setup.sh` by running. This script will install brew
-if it does not already exists on the system and then automatically
-install the dependencies:
+Alternatively, users can chose one of the automated scripts 
+under `contrib` folder by executing:
 
 ```shell
-% bash contrib/mac_setup.sh
+% bash contrib/*_setup.sh
 ```
 
+The following setup script are provided:
+* **mac_setup.sh**: installation using brew (brew will be installed if not present).
+* **void_setup.sh**: Xbps dependencies for Void Linux.
+
 To build the necessary binaries, we can just clone the repo, and use the 
 provided Makefile to build the project. This will download the trusted 
 setup params, and compile the source code.

+ 16 - 0
contrib/void_setup.sh

@@ -0,0 +1,16 @@
+#!/bin/bash
+
+sudo xbps-install -S \
+    base-devel \
+    cmake \
+    wget \
+    expat-devel \
+    freetype-devel \
+    fontconfig-devel \
+    jq \
+    openssl-devel \
+    clang \
+    libclang \
+    llvm \
+    libllvm12 \
+    libgudev-devel \