void-packages/srcpkgs/i2pd/template
byouki-onna 419841d98a i2pd: add runit service and system user (#6071)
i2pd: add runit service and system user
2017-04-13 15:48:24 -04:00

31 lines
840 B
Bash

# Template file for 'i2pd'
pkgname=i2pd
version=2.11.0
revision=3
short_desc="I2P Daemon - a full-featured C++ implementation of I2P client"
homepage="http://i2pd.website/"
license="BSD"
build_style=gnu-makefile
make_build_args="USE_UPNP=yes"
maintainer="Obosob <obosob@riseup.net>"
makedepends="zlib-devel boost-devel libressl-devel miniupnpc-devel"
distfiles="https://github.com/PurpleI2P/i2pd/archive/${version}.tar.gz"
checksum=4d7946e33a6a1dd4439590ea23b494f36e6fbcb81f7b36857bf264413a19e9db
system_accounts="_i2pd"
case "${XBPS_TARGET_MACHINE}" in
aarch64*) make_build_args+=" USE_AESNI=no USE_AVX=no" ;;
armv[67]*) make_build_args+=" USE_AVX=no" ;;
esac
do_install() {
vbin i2pd
vman debian/i2pd.1
vsconf docs/i2pd.conf
vsconf docs/tunnels.conf
vsconf docs/subscriptions.txt
vlicense LICENSE
}
post_install() {
vsv i2pd
}