https://github.com/Kitware/CMake
Raw File
Tip revision: 9bbfbd54ba04e07b0bf2eb8bb1056bca53d639c5 authored by Brad King on 13 December 2018, 11:44:30 UTC
CMake 3.13.2
Tip revision: 9bbfbd5
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.3.3"
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
    popd
}

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