Procházet zdrojové kódy

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

aggstam před 4 roky
rodič
revize
79f1ea875b
2 změnil soubory, kde provedl 23 přidání a 5 odebrání
  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
     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
 ```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 
 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 
 provided Makefile to build the project. This will download the trusted 
 setup params, and compile the source code.
 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 \