mirror of
https://github.com/LCPQ/quantum_package
synced 2024-11-03 20:54:00 +01:00
20 lines
312 B
Bash
Executable File
20 lines
312 B
Bash
Executable File
#!/bin/bash -x
|
|
|
|
TARGET=patch
|
|
|
|
function _install()
|
|
{
|
|
mkdir ${TARGET}
|
|
cd ..
|
|
QP_ROOT=$PWD
|
|
cd -
|
|
cd ${BUILD}
|
|
./configure --prefix=${QP_ROOT} && make || exit 1
|
|
make install || exit 1
|
|
cd -
|
|
cp ${TARGET}/bin/${TARGET} ${QP_ROOT}/bin || exit 1
|
|
rm -R -- ${TARGET} || exit 1
|
|
}
|
|
|
|
source scripts/build.sh
|