blob: ea7e65592c3cd30f94c65d73ce5d052a937b8e20 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
#!/usr/bin/env bash
set -e
set -x
shopt -s dotglob
readonly name="librhash"
readonly ownership="librhash upstream <kwrobot@kitware.com>"
readonly subtree="Utilities/cmlibrhash"
readonly repo="https://github.com/rhash/rhash.git"
readonly tag="v1.3.9"
readonly shortlog=false
readonly paths="
COPYING
librhash/algorithms.c
librhash/algorithms.h
librhash/byte_order.c
librhash/byte_order.h
librhash/hex.c
librhash/hex.h
librhash/md5.c
librhash/md5.h
librhash/rhash.c
librhash/rhash.h
librhash/sha1.c
librhash/sha1.h
librhash/sha256.c
librhash/sha256.h
librhash/sha3.c
librhash/sha3.h
librhash/sha512.c
librhash/sha512.h
librhash/ustd.h
librhash/util.h
"
extract_source () {
git_archive
pushd "${extractdir}/${name}-reduced"
echo "* -whitespace" > .gitattributes
popd
}
. "${BASH_SOURCE%/*}/update-third-party.bash"
|