mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
botan: update to 2.12.0
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
parent
fdc21d9bcf
commit
84e8251002
2 changed files with 12 additions and 16 deletions
|
@ -2703,7 +2703,7 @@ libKDb3.so.4 kdb-3.1.0_1
|
||||||
libKPropertyWidgets3.so.4 kproperty-3.1.0_1
|
libKPropertyWidgets3.so.4 kproperty-3.1.0_1
|
||||||
libKPropertyCore3.so.4 kproperty-3.1.0_1
|
libKPropertyCore3.so.4 kproperty-3.1.0_1
|
||||||
libKReport3.so.4 kreport-3.1.0_1
|
libKReport3.so.4 kreport-3.1.0_1
|
||||||
libbotan-2.so.10 botan-2.10.0_1
|
libbotan-2.so.12 botan-2.12.0_1
|
||||||
libswipl.so.8 swi-prolog-8.0.0_1
|
libswipl.so.8 swi-prolog-8.0.0_1
|
||||||
libpcre2-16.so.0 libpcre2-10.22_1
|
libpcre2-16.so.0 libpcre2-10.22_1
|
||||||
libpcre2-32.so.0 libpcre2-10.22_1
|
libpcre2-32.so.0 libpcre2-10.22_1
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'botan'
|
# Template file for 'botan'
|
||||||
pkgname=botan
|
pkgname=botan
|
||||||
version=2.10.0
|
version=2.12.0
|
||||||
revision=2
|
revision=1
|
||||||
wrksrc="${pkgname^}-${version}"
|
wrksrc="${pkgname^}-${version}"
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
pycompile_module="botan.py"
|
pycompile_module="botan.py"
|
||||||
|
@ -11,8 +11,8 @@ short_desc="Crypto library written in C++"
|
||||||
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
|
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
|
||||||
license="BSD-2-Clause"
|
license="BSD-2-Clause"
|
||||||
homepage="https://botan.randombit.net/"
|
homepage="https://botan.randombit.net/"
|
||||||
distfiles="https://botan.randombit.net/releases/Botan-${version}.tgz"
|
distfiles="https://botan.randombit.net/releases/Botan-${version}.tar.xz"
|
||||||
checksum=88481997578c27924724fea76610d43d9f59c99edfe561d41803bbc98871ad31
|
checksum=1eaefd459d52f27de1805cff8c68792e0610919648ee98e101980e94edb90a63
|
||||||
|
|
||||||
python_version=2
|
python_version=2
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@ LDFLAGS="-pthread"
|
||||||
CXXFLAGS="-O3"
|
CXXFLAGS="-O3"
|
||||||
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
local _args _arch _cpu
|
local _args _cpu
|
||||||
|
|
||||||
_args="--prefix=/usr"
|
_args="--prefix=/usr"
|
||||||
_args+=" --os=linux"
|
_args+=" --os=linux"
|
||||||
|
@ -36,48 +36,44 @@ do_configure() {
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
i686*)
|
i686*)
|
||||||
_cpu="i686"
|
_cpu="i686"
|
||||||
_arch="x86"
|
|
||||||
;;
|
;;
|
||||||
x86_64*)
|
x86_64*)
|
||||||
_cpu="x86_64"
|
_cpu="x86_64"
|
||||||
_arch="x86"
|
|
||||||
;;
|
;;
|
||||||
armv5*)
|
armv5*)
|
||||||
_cpu="arm"
|
_cpu="arm"
|
||||||
_arch="armv5te"
|
|
||||||
_args+=" --disable-modules=simd"
|
_args+=" --disable-modules=simd"
|
||||||
;;
|
;;
|
||||||
armv6*)
|
armv6*)
|
||||||
_cpu="arm"
|
_cpu="arm"
|
||||||
_arch="armv6"
|
|
||||||
_args+=" --disable-modules=simd"
|
_args+=" --disable-modules=simd"
|
||||||
;;
|
;;
|
||||||
armv7*)
|
armv7*)
|
||||||
_cpu="armv7-a"
|
_cpu="armv7-a"
|
||||||
_arch="armv7"
|
|
||||||
_args+=" --disable-modules=simd"
|
_args+=" --disable-modules=simd"
|
||||||
;;
|
;;
|
||||||
aarch64*)
|
aarch64*)
|
||||||
_cpu="armv8-a"
|
_cpu="armv8-a"
|
||||||
_arch="arm64"
|
|
||||||
;;
|
;;
|
||||||
mips*)
|
mips*)
|
||||||
_cpu="mips32"
|
_cpu="mips32"
|
||||||
_arch="mips"
|
|
||||||
;;
|
;;
|
||||||
ppc64le*)
|
ppc64le*)
|
||||||
_cpu="ppc64le"
|
_cpu="ppc64le"
|
||||||
_arch="ppc64le"
|
|
||||||
;;
|
;;
|
||||||
ppc64*)
|
ppc64*)
|
||||||
_cpu="ppc64"
|
_cpu="ppc64"
|
||||||
_arch="ppc64"
|
;;
|
||||||
|
ppc*)
|
||||||
|
_cpu="ppc"
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
_cpu="${XBPS_TARGET_MACHINE%-musl}"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
python2 configure.py \
|
python2 configure.py \
|
||||||
--distribution-info="Void Linux botan-${version}_${revision}" \
|
--distribution-info="Void Linux botan-${version}_${revision}" \
|
||||||
--cc-abi-flags="-std=c++14" \
|
|
||||||
--cpu=${_cpu} \
|
--cpu=${_cpu} \
|
||||||
${_args}
|
${_args}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue