-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use files with list of dependencies for building gsad
Introduce files with lists of dependencies for building and running gsad.
- Loading branch information
1 parent
3628d9a
commit f182776
Showing
6 changed files
with
38 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
build-essential | ||
cmake | ||
gcc | ||
git | ||
libgcrypt-dev | ||
libglib2.0-dev | ||
libgnutls28-dev | ||
libmicrohttpd-dev | ||
libssh-dev | ||
libxml2-dev | ||
pkg-config |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/bin/bash | ||
# This script installs the dependencies of gsad | ||
set -e | ||
|
||
BASEDIR=$(dirname "$0") | ||
DEFAULT_DEPENDENCIES_FILE="$BASEDIR/build-dependencies.list" | ||
DEPENDENCIES_FILE=${1:-$DEFAULT_DEPENDENCIES_FILE} | ||
|
||
if [[ ! -f "$DEPENDENCIES_FILE" ]]; then | ||
echo "Dependencies file not found: $DEPENDENCIES_FILE" | ||
exit 1 | ||
fi | ||
|
||
apt-get update && \ | ||
apt-get install -y --no-install-recommends --no-install-suggests \ | ||
$(grep -v '#' "$DEPENDENCIES_FILE") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
gosu | ||
libmicrohttpd12 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters