void-packages/srcpkgs/i2pd/template
2019-01-21 16:15:13 -02:00

35 lines
914 B
Bash

# Template file for 'i2pd'
pkgname=i2pd
version=2.23.0
revision=1
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 <obosob@riseup.net>"
license="BSD-3-Clause"
homepage="http://i2pd.website/"
distfiles="https://github.com/PurpleI2P/i2pd/archive/${version}.tar.gz"
checksum=19e8573b44b94ce83bd5705569934049cb1dc39db11449abcb9e4b36afe5a279
system_accounts="_i2pd"
disable_parallel_build=true
make_dirs="/var/lib/i2pd 0755 _i2pd _i2pd"
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
}