mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-08 16:13:50 +02:00
i2pd: fix arm[67]/aarch64 builds
This commit is contained in:
parent
ed9abcd992
commit
b787593cf5
1 changed files with 5 additions and 10 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'i2pd'
|
# Template file for 'i2pd'
|
||||||
pkgname=i2pd
|
pkgname=i2pd
|
||||||
version=2.11.0
|
version=2.11.0
|
||||||
revision=1
|
revision=2
|
||||||
short_desc="I2P Daemon - a full-featured C++ implementation of I2P client"
|
short_desc="I2P Daemon - a full-featured C++ implementation of I2P client"
|
||||||
homepage="http://i2pd.website/"
|
homepage="http://i2pd.website/"
|
||||||
license="BSD"
|
license="BSD"
|
||||||
|
@ -12,15 +12,10 @@ makedepends="zlib-devel boost-devel libressl-devel miniupnpc-devel"
|
||||||
distfiles="https://github.com/PurpleI2P/i2pd/archive/${version}.tar.gz"
|
distfiles="https://github.com/PurpleI2P/i2pd/archive/${version}.tar.gz"
|
||||||
checksum=4d7946e33a6a1dd4439590ea23b494f36e6fbcb81f7b36857bf264413a19e9db
|
checksum=4d7946e33a6a1dd4439590ea23b494f36e6fbcb81f7b36857bf264413a19e9db
|
||||||
|
|
||||||
pre_build() {
|
case "${XBPS_TARGET_MACHINE}" in
|
||||||
if [[ "$XBPS_TARGET_MACHINE" =~ aarch64(-musl)? ]]; then
|
aarch64*) make_build_args+=" USE_AESNI=no USE_AVX=no" ;;
|
||||||
make_build_args="$make_build_args USE_AESNI=no USE_AVX=no"
|
armv[67]*) make_build_args+=" USE_AVX=no" ;;
|
||||||
fi
|
esac
|
||||||
if [[ "$XBPS_TARGET_MACHINE" =~ armv7hf(-musl)? ]]; then
|
|
||||||
make_build_args="$make_build_args USE_AVX=no"
|
|
||||||
fi
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
vbin i2pd
|
vbin i2pd
|
||||||
|
|
Loading…
Add table
Reference in a new issue