void-packages/srcpkgs/i2pd/template
2016-12-24 09:46:23 +01:00

28 lines
773 B
Bash

# Template file for 'i2pd'
pkgname=i2pd
version=2.10.2
revision=1
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=9d1f8dd33f537ad629fc69f0ccfa4cde22ca5023981a9c5b6acd5d551b9c7b8b
pre_build() {
if [[ "$XBPS_TARGET_MACHINE" =~ aarch64(-musl)? ]]; then
make_build_args="$make_build_args USE_AESNI=no"
fi
}
do_install() {
vbin i2pd
vman debian/i2pd.1
vsconf docs/i2pd.conf
vsconf docs/tunnels.conf
vsconf docs/subscriptions.txt
vlicense LICENSE
}