mirror of
https://github.com/LCPQ/quantum_package
synced 2024-06-30 00:44:28 +02:00
19 lines
347 B
Bash
19 lines
347 B
Bash
![]() |
#!/bin/bash -x
|
||
|
|
||
|
TARGET=patch
|
||
|
|
||
|
function _install()
|
||
|
{
|
||
|
mkdir ${TARGET}
|
||
|
cd ..
|
||
|
QPACKAGE_ROOT=$PWD
|
||
|
cd -
|
||
|
cd ${BUILD}
|
||
|
./configure --prefix=${QPACKAGE_ROOT}/install/${TARGET} && make || exit 1
|
||
|
make install || exit 1
|
||
|
cd -
|
||
|
cp ${TARGET}/bin/${TARGET} ${QPACKAGE_ROOT}/bin || exit 1
|
||
|
rm -R -- ${TARGET} || exit 1
|
||
|
}
|
||
|
|
||
|
source scripts/build.sh
|