mirror of
https://github.com/reactos/CMake.git
synced 2024-12-02 00:26:18 +00:00
35 lines
701 B
Bash
Executable File
35 lines
701 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
set -x
|
|
shopt -s dotglob
|
|
|
|
readonly name="liblzma"
|
|
readonly ownership="liblzma upstream <xz-devel@tukaani.org>"
|
|
readonly subtree="Utilities/cmliblzma"
|
|
readonly repo="https://git.tukaani.org/xz.git"
|
|
readonly tag="v5.2.4"
|
|
readonly shortlog=false
|
|
readonly paths="
|
|
COPYING
|
|
src/common/common_w32res.rc
|
|
src/common/sysdefs.h
|
|
src/common/tuklib_integer.h
|
|
src/liblzma/
|
|
"
|
|
|
|
extract_source () {
|
|
git_archive
|
|
pushd "${extractdir}/${name}-reduced"
|
|
mv src/common .
|
|
mv src/liblzma .
|
|
rmdir src
|
|
rm liblzma/Makefile.*
|
|
rm liblzma/*/Makefile.*
|
|
rm liblzma/liblzma.map
|
|
rm liblzma/validate_map.sh
|
|
popd
|
|
}
|
|
|
|
. "${BASH_SOURCE%/*}/update-third-party.bash"
|