-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstallDeps.sh
executable file
·65 lines (35 loc) · 1.14 KB
/
installDeps.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
#!/bin/sh
#echo "You must have contrib added to /etc/apt/sources.list before you continue."
#echo "Check now and type y if you are sure."
#read isyes
#if [ "$isyes" != "y" ] && [ "$isyes" != "y" ]; then
#exit
#fi
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install -y wine wine32:i386 firejail zenity git dosbox wget #winetricks
git clone git://git.code.sf.net/p/cdemu/code cdemu-code
sudo apt-get install -y linux-headers-amd64 build-essential dpkg-dev pkg-config libglib2.0-dev libsndfile1-dev libsamplerate0-dev zlib1g-dev libbz2-dev liblzma-dev gtk-doc-tools gobject-introspection libgirepository1.0-dev gir1.2-glib-2.0-dev debhelper intltool cmake libglib2.0-dev libao-dev debhelper intltool cmake dkms dh-dkms dh-python bash-completion
cd cdemu-code
cd libmirage
dpkg-buildpackage -b -uc -tc
cd ..
sudo dpkg -i ./*.deb
mkdir out
mv ./*.deb out/
cd vhba-module
dpkg-buildpackage -b -uc -tc
cd ..
sudo dpkg -i ./*.deb
mv ./*.deb out/
cd cdemu-daemon
dpkg-buildpackage -b -uc -tc
cd ..
sudo dpkg -i ./*.deb
mv ./*.deb out/
cd cdemu-client
dpkg-buildpackage -b -uc -tc
cd ..
sudo dpkg -i ./*.deb
mv ./*.deb out/
cd ..