# Template file for 'i2pd' pkgname=i2pd version=2.21.1 revision=2 build_style=gnu-makefile make_build_args="USE_UPNP=yes" makedepends="zlib-devel boost-devel libressl-devel miniupnpc-devel libatomic-devel" short_desc="I2P Daemon - a full-featured C++ implementation of I2P client" maintainer="Obosob " license="BSD" homepage="http://i2pd.website/" distfiles="https://github.com/PurpleI2P/i2pd/archive/${version}.tar.gz" checksum=617e014fe5b16274f1fa38a5b409b2305c8bc0ec23a27fb20508f6fea7d44fcc system_accounts="_i2pd" disable_parallel_build=true case "${XBPS_TARGET_MACHINE}" in aarch64*|armv*|mips*) make_build_args+=" USE_AESNI=no USE_AVX=no" ;; esac do_install() { vbin i2pd vman debian/i2pd.1 vsconf contrib/i2pd.conf vsconf contrib/tunnels.conf vsconf contrib/subscriptions.txt vlicense LICENSE } post_install() { vsv i2pd }