summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/net-vpn/i2pd/i2pd-scm.exheres-078
1 files changed, 39 insertions, 39 deletions
diff --git a/packages/net-vpn/i2pd/i2pd-scm.exheres-0 b/packages/net-vpn/i2pd/i2pd-scm.exheres-0
index f5e1ff6..de7f22a 100644
--- a/packages/net-vpn/i2pd/i2pd-scm.exheres-0
+++ b/packages/net-vpn/i2pd/i2pd-scm.exheres-0
@@ -4,57 +4,57 @@ SCM_REPOSITORY="git://github.com/PurpleI2P/i2pd"
require scm-git systemd-service cmake [ api=2 ]
HOMEPAGE="https://github.com/PurpleI2P/i2pd"
SUMMARY="A C++ daemon for accessing the I2P anonymous network"
-LICENCES="BSD"
+LICENCES="BSD-3"
SLOT="0"
PLATFORMS="~amd64 ~x86"
DOWNLOADS=""
MYOPTIONS="
- i2p-hardening
- pch
- upnp
- (
- providers:
- libressl
- openssl
- )
- [[ number-selected = exactly-one ]]
+ i2p-hardening
+ pch
+ upnp
+ (
+ providers:
+ libressl
+ openssl
+ )
+ [[ number-selected = exactly-one ]]
"
MYOPTIONS+="
- amd64_cpu_features: aes avx
- x86_cpu_features: aes avx
+ amd64_cpu_features: aes avx
+ x86_cpu_features: aes avx
"
DEPENDENCIES="
- build+run:
- providers:openssl? ( dev-libs/openssl )
- providers:libressl? ( dev-libs/libressl )
- dev-libs/boost[>=1.49]
- upnp? ( net-libs/miniupnpc )
+ build+run:
+ dev-libs/boost[>=1.49]
+ upnp? ( net-libs/miniupnpc )
+ providers:openssl? ( dev-libs/openssl )
+ providers:libressl? ( dev-libs/libressl )
"
src_configure() {
- local cmakeparams=()
- if option amd64_cpu_features:aes; then
- cmakeparams+=( -DWITH_AESNI=ON )
- fi
- if option x86_cpu_features:aes; then
- cmakeparams+=( -DWITH_AESNI=ON )
- fi
- if option amd64_cpu_features:avx; then
- cmakeparams+=( -DWITH_AVX=ON )
- fi
- if option x86_cpu_features:avx; then
- cmakeparams+=( -DWITH_AVX=ON )
- fi
- cmakeparams+=(
- $(cmake_with i2p-hardening HARDENING)
- $(cmake_with pch PCH)
- $(cmake_with upnp UPNP)
- -DWITH_LIBRARY=ON
- -DWITH_BINARY=ON
- )
- CMAKE_SOURCE=${WORKBASE}/${PNV}/build
- ecmake "${cmakeparams[@]}"
+ local cmakeparams=()
+ if option amd64_cpu_features:aes; then
+ cmakeparams+=( -DWITH_AESNI=ON )
+ fi
+ if option x86_cpu_features:aes; then
+ cmakeparams+=( -DWITH_AESNI=ON )
+ fi
+ if option amd64_cpu_features:avx; then
+ cmakeparams+=( -DWITH_AVX=ON )
+ fi
+ if option x86_cpu_features:avx; then
+ cmakeparams+=( -DWITH_AVX=ON )
+ fi
+ cmakeparams+=(
+ $(cmake_with i2p-hardening HARDENING)
+ $(cmake_with pch PCH)
+ $(cmake_with upnp UPNP)
+ -DWITH_LIBRARY=ON
+ -DWITH_BINARY=ON
+ )
+ CMAKE_SOURCE=${WORKBASE}/${PNV}/build
+ ecmake "${cmakeparams[@]}"
}