Skip to content

Commit 72b93e0

Browse files
authored
Update prepare-mac-os script dependencies (#120)
* Add missing dependencies: automake, cmake and doxygen to prepare-mac-os script Sort dependencies alphabetically 💄 * Simplify prepare-mac-os.sh dependencies installation
1 parent 6ae77fd commit 72b93e0

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

prepare-mac-os.sh

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,12 @@ install_libusb() {
1010
}
1111

1212
if [ -e "/opt/local/bin/port" ]; then
13-
sudo port install wget
14-
sudo port install libelf
15-
sudo port install libmpc
16-
sudo port install libusb
13+
sudo port install automake cmake doxygen libelf libmpc libusb wget
1714

1815
install_libusb
1916
elif [ -e "/usr/local/bin/brew" ]; then
2017
CURRENT_USER=$(stat -f '%Su' /dev/console)
21-
sudo -u $CURRENT_USER brew install wget
22-
sudo -u $CURRENT_USER brew install libelf
23-
sudo -u $CURRENT_USER brew install libmpc
24-
sudo -u $CURRENT_USER brew install libusb
25-
26-
sudo -u $CURRENT_USER brew install libusb-compat
18+
sudo -u $CURRENT_USER brew install automake cmake doxygen libelf libmpc libusb libusb-compat wget
2719
else
2820
echo "Go install MacPorts from http://www.macports.org/ or Homebrew from http://brew.sh/ first, then we can talk"
2921
fi

0 commit comments

Comments
 (0)