-
Notifications
You must be signed in to change notification settings - Fork 1
/
buildenv
44 lines (37 loc) · 1.15 KB
/
buildenv
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
# bump: libgcrypt-version /LIBGCRYPT_VERSION="(.*)"/ https://gnupg.org/ftp/gcrypt/libgcrypt/|re:/libgcrypt-([\d.]+).tar.bz2/$1/|semver:*
LIBGCRYPT_VERSION="1.10.3"
export ZOPEN_STABLE_URL="https://gnupg.org/ftp/gcrypt/libgcrypt/libgcrypt-${LIBGCRYPT_VERSION}.tar.bz2"
export ZOPEN_CATEGORIES="security library"
export ZOPEN_STABLE_DEPS="make bzip2 tar curl perl automake autoconf m4 sed gettext zoslib diffutils libgpgerror openssl"
export ZOPEN_BUILD_LINE="STABLE"
export ZOPEN_EXTRA_CFLAGS="${ZOPEN_EXTRA_CFLAGS} -O3"
export ZOPEN_COMP=CLANG
zopen_check_results()
{
dir="$1"
pfx="$2"
chk="$1/$2_check.log"
failures=$(egrep "^FAIL:" $chk | wc -l)
skipped=$(egrep "^SKIP:" $chk | wc -l)
passed=$(egrep "^PASS:" $chk | wc -l)
totalTests=$(($failures+$skipped+$passed))
# Echo the following information to gauge build health
cat <<ZZ
actualFailures:${failures}
actualSkipped:${skipped}
totalTests:${totalTests}
expectedFailures:0
ZZ
}
zopen_append_to_env()
{
# echo envars outside of PATH, MANPATH, LIBPATH
}
zopen_append_to_setup()
{
# echo commands that will run when installing via setup.sh
}
zopen_get_version()
{
echo "$LIBGCRYPT_VERSION"
}