void-packages/srcpkgs/i2pd/template
2017-04-11 18:54:28 +02:00

27 lines
787 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
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
}