diff options
author | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2016-06-28 21:10:11 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-06-29 14:01:33 (GMT) |
commit | ec8f744a11dfcab9560387168cab76260aa0b777 (patch) | |
tree | 22f575e4cfd33ab3917e29cb3cf6c889bdeff26e /Utilities | |
parent | 7808ba0852708963a6c37c8027b3382c2157422e (diff) | |
download | CMake-ec8f744a11dfcab9560387168cab76260aa0b777.zip CMake-ec8f744a11dfcab9560387168cab76260aa0b777.tar.gz CMake-ec8f744a11dfcab9560387168cab76260aa0b777.tar.bz2 |
Add script to update liblzma from upstream
Diffstat (limited to 'Utilities')
-rwxr-xr-x | Utilities/Scripts/update-liblzma.bash | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/Utilities/Scripts/update-liblzma.bash b/Utilities/Scripts/update-liblzma.bash new file mode 100755 index 0000000..31de671 --- /dev/null +++ b/Utilities/Scripts/update-liblzma.bash @@ -0,0 +1,30 @@ +#!/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="http://git.tukaani.org/xz.git" +readonly tag="v5.0.5" +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 + popd +} + +. "${BASH_SOURCE%/*}/update-third-party.bash" |