Commit 37040e31 authored by Matthew Brett's avatar Matthew Brett Committed by GitHub
Browse files

Merge pull request #23 from anthrotype/build-tar.bz2

[library_builders] allow to override tar.gz extension in build_simple
parents 4857b03f 900b39c4
......@@ -52,12 +52,13 @@ function build_simple {
local name=$1
local version=$2
local url=$3
local ext=${4:-tar.gz}
if [ -e "${name}-stamp" ]; then
return
fi
local name_version="${name}-${version}"
local targz=${name_version}.tar.gz
fetch_unpack $url/$targz
local archive=${name_version}.${ext}
fetch_unpack $url/$archive
(cd $name_version \
&& ./configure --prefix=$BUILD_PREFIX \
&& make \
......
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