void-packages/srcpkgs/i2pd/template

33 lines
860 B
Bash

# Template file for 'i2pd'
pkgname=i2pd
version=2.22.0
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 <obosob@riseup.net>"
license="BSD"
homepage="http://i2pd.website/"
distfiles="https://github.com/PurpleI2P/i2pd/archive/${version}.tar.gz"
checksum=6547d7a560482c5eda9106ae19267bc8afbb6af48fed3bebf423ade28103e173
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
}