You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
503 B
28 lines
503 B
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
set -x
|
|
shopt -s dotglob
|
|
|
|
readonly name="bzip2"
|
|
readonly ownership="bzip2 upstream <kwrobot@kitware.com>"
|
|
readonly subtree="Utilities/cmbzip2"
|
|
readonly repo="https://sourceware.org/git/bzip2.git"
|
|
readonly tag="bzip2-1.0.8"
|
|
readonly shortlog=false
|
|
readonly paths="
|
|
LICENSE
|
|
README
|
|
*.c
|
|
*.h
|
|
"
|
|
|
|
extract_source () {
|
|
git_archive
|
|
pushd "${extractdir}/${name}-reduced"
|
|
echo "* -whitespace" > .gitattributes
|
|
popd
|
|
}
|
|
|
|
. "${BASH_SOURCE%/*}/update-third-party.bash"
|