mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-14 00:38:55 +00:00
19 lines
463 B
Bash
19 lines
463 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
if [ -x /usr/bin/pacman ]; then
|
||
|
sudo pacman -S gtk2
|
||
|
elif [ -x /usr/bin/apt-get ]; then
|
||
|
sudo apt-get install gtk2-2.0-dev
|
||
|
elif [ -x /opt/local/bin/port ]; then
|
||
|
echo "Installing cairo.."
|
||
|
sudo port install cairo +quartz+no_x11 || exit 1
|
||
|
echo "Installing pango.."
|
||
|
sudo port install pango +quartz+no_x11 || exit 1
|
||
|
echo "Installing GTK2.."
|
||
|
sudo port install gtk2 +quartz+no_x11 || exit 1
|
||
|
else
|
||
|
echo "Cannot install gtk :("
|
||
|
exit 1
|
||
|
fi
|
||
|
:> .gtk-done.sh
|