10
0
mirror of https://github.com/LCPQ/quantum_package synced 2024-12-23 21:03:56 +01:00
quantum_package/install/scripts/install_patch.sh

19 lines
329 B
Bash
Raw Normal View History

2015-06-05 22:33:19 +02:00
#!/bin/bash -x
TARGET=patch
function _install()
{
mkdir ${TARGET}
cd ..
2015-06-08 14:49:10 +02:00
QP_ROOT=$PWD
2015-06-05 22:33:19 +02:00
cd -
cd ${BUILD}
2015-06-08 14:49:10 +02:00
./configure --prefix=${QP_ROOT}/install/${TARGET} && make || exit 1
2015-06-05 22:33:19 +02:00
make install || exit 1
cd -
2015-06-08 14:49:10 +02:00
cp ${TARGET}/bin/${TARGET} ${QP_ROOT}/bin || exit 1
2015-06-05 22:33:19 +02:00
rm -R -- ${TARGET} || exit 1
}
source scripts/build.sh