Skip to content
Snippets Groups Projects
Commit c4b51e3d authored by Marek Vavruša's avatar Marek Vavruša
Browse files

Merge branch 'master' of gitlab.labs.nic.cz:knot/resolver

parents 3d1ee641 76a3487e
No related branches found
No related tags found
No related merge requests found
......@@ -46,18 +46,18 @@ function fetch_pkg {
}
function build_pkg {
if [ -f CMakeLists.txt ]; then
[ -e cmake-build ] && rm -rf cmake-build; mkdir cmake-build; cd cmake-build
cmake -DCMAKE_INSTALL_PREFIX=${PREFIX} ..
make ${MAKEOPTS}
make install
elif [ -f configure.ac ]; then
if [ -f configure.ac ]; then
if [ ! -e ./configure ]; then
[ -e autogen.sh ] && sh autogen.sh || autoreconf -if
fi
./configure --prefix=${PREFIX} --enable-shared $*
make ${MAKEOPTS}
make install
elif [ -f CMakeLists.txt ]; then
[ -e cmake-build ] && rm -rf cmake-build; mkdir cmake-build; cd cmake-build
cmake -DCMAKE_INSTALL_PREFIX=${PREFIX} ..
make ${MAKEOPTS}
make install
else
make $*
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment