some compatibility
This commit is contained in:
parent
28f84c5188
commit
74930ba253
@ -6,8 +6,8 @@ function cmakebuild() {
|
|||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
cmake ..
|
cmake ..
|
||||||
make
|
make
|
||||||
sudo make install
|
make install
|
||||||
cd ../..
|
cd ../..
|
||||||
rm -rf $1
|
rm -rf $1
|
||||||
}
|
}
|
||||||
@ -15,7 +15,7 @@ function cmakebuild() {
|
|||||||
cd /tmp
|
cd /tmp
|
||||||
|
|
||||||
STATIC_PACKAGES="libusb-1.0.0-dev"
|
STATIC_PACKAGES="libusb-1.0.0-dev"
|
||||||
BUILD_PACKAGES="git build-essential cmake patch"
|
BUILD_PACKAGES="git build-essential cmake patch ca-certificates wget sudo udev"
|
||||||
|
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get -y install --no-install-recommends $STATIC_PACKAGES $BUILD_PACKAGES
|
apt-get -y install --no-install-recommends $STATIC_PACKAGES $BUILD_PACKAGES
|
||||||
|
@ -6,8 +6,8 @@ function cmakebuild() {
|
|||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
cmake ..
|
cmake ..
|
||||||
make
|
make
|
||||||
sudo make install
|
make install
|
||||||
cd ../..
|
cd ../..
|
||||||
rm -rf $1
|
rm -rf $1
|
||||||
}
|
}
|
||||||
@ -15,7 +15,7 @@ function cmakebuild() {
|
|||||||
cd /tmp
|
cd /tmp
|
||||||
|
|
||||||
STATIC_PACKAGES="sox libfftw3-dev python2.7 netcat libitpp-dev libsndfile1-dev"
|
STATIC_PACKAGES="sox libfftw3-dev python2.7 netcat libitpp-dev libsndfile1-dev"
|
||||||
BUILD_PACKAGES="git build-essential cmake"
|
BUILD_PACKAGES="git build-essential cmake ca-certificates"
|
||||||
|
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get -y install --no-install-recommends $STATIC_PACKAGES $BUILD_PACKAGES
|
apt-get -y install --no-install-recommends $STATIC_PACKAGES $BUILD_PACKAGES
|
||||||
|
Loading…
Reference in New Issue
Block a user