https://github.com/Kitware/CMake
Raw File
Tip revision: 0d3bfda22ad3327a7921caa464741394d58f3d34 authored by Brad King on 20 September 2021, 15:28:01 UTC
CMake 3.20.6
Tip revision: 0d3bfda
update-bzip2.bash
#!/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"
back to top