https://github.com/Kitware/CMake
Raw File
Tip revision: b384058e4ba77defdff8741db636f60d6843d87d authored by Brad King on 30 June 2023, 14:31:40 UTC
CMake 3.27.0-rc4
Tip revision: b384058
update-libarchive.bash
#!/usr/bin/env bash

set -e
set -x
shopt -s dotglob

readonly name="LibArchive"
readonly ownership="LibArchive Upstream <libarchive-discuss@googlegroups.com>"
readonly subtree="Utilities/cmlibarchive"
readonly repo="https://github.com/libarchive/libarchive.git"
readonly tag="v3.6.2"
readonly shortlog=false
readonly paths="
  CMakeLists.txt
  COPYING
  CTestConfig.cmake
  build/cmake
  build/pkgconfig
  build/utils
  build/version
  libarchive/*.*
"

extract_source () {
    git_archive
    pushd "${extractdir}/${name}-reduced"
    fromdos build/cmake/Find*.cmake
    echo "* -whitespace" > .gitattributes
    popd
}

. "${BASH_SOURCE%/*}/update-third-party.bash"
back to top