Commit 2a3bc85b authored by xoviat's avatar xoviat Committed by GitHub
Browse files

libraries: allow build_simple with configure args

parent 08c0538f
...@@ -52,6 +52,7 @@ function build_simple { ...@@ -52,6 +52,7 @@ function build_simple {
local name=$1 local name=$1
local version=$2 local version=$2
local url=$3 local url=$3
local configure_args=${@:4}
if [ -e "${name}-stamp" ]; then if [ -e "${name}-stamp" ]; then
return return
fi fi
...@@ -59,7 +60,7 @@ function build_simple { ...@@ -59,7 +60,7 @@ function build_simple {
local targz=${name_version}.tar.gz local targz=${name_version}.tar.gz
fetch_unpack $url/$targz fetch_unpack $url/$targz
(cd $name_version \ (cd $name_version \
&& ./configure --prefix=$BUILD_PREFIX \ && ./configure --prefix=$BUILD_PREFIX $configure_args \
&& make \ && make \
&& make install) && make install)
touch "${name}-stamp" touch "${name}-stamp"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment