Skip to content

Commit

Permalink
added Gentoo support
Browse files Browse the repository at this point in the history
other systems can be added just as easily
  • Loading branch information
Michael Dec committed Jul 16, 2014
1 parent 4cefe27 commit 856f261
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion scripts/deps.sh
Original file line number Diff line number Diff line change
@@ -1 +1,15 @@
sudo apt-get install -y cmake libgtkmm-3.0-dev libglibmm-2.4-dev libtorrent-rasterbar-dev libboost-all-dev libssl-dev
#!/bin/bash
SATISFIED=0
if [ -f "/etc/debian_version" ]; then
sudo apt-get install -y cmake libgtkmm-3.0-dev libglibmm-2.4-dev libtorrent-rasterbar-dev libboost-all-dev libssl-dev
SATISFIED=1
fi

if [ -f "/etc/gentoo-release" ]; then
emerge -vq dev-util/cmake dev-cpp/gtkmm dev-cpp/glibmm net-libs/rb_libtorrent dev-libs/boost dev-libs/openssl
SATISFIED=1
fi

if [ "$SATISFIED" -ne "1" ]; then
echo "Your system isn't supported yet."
fi

0 comments on commit 856f261

Please sign in to comment.