void-packages/srcpkgs/i2pd/template

28 lines
787 B
Bash
Raw Normal View History

2016-12-24 08:46:23 +00:00
# Template file for 'i2pd'
pkgname=i2pd
2017-01-04 07:27:29 +00:00
version=2.11.0
2017-04-11 15:32:23 +00:00
revision=3
2016-12-24 08:46:23 +00:00
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"
2017-01-04 07:27:29 +00:00
checksum=4d7946e33a6a1dd4439590ea23b494f36e6fbcb81f7b36857bf264413a19e9db
2016-12-24 08:46:23 +00:00
2017-01-10 19:07:52 +00:00
case "${XBPS_TARGET_MACHINE}" in
aarch64*) make_build_args+=" USE_AESNI=no USE_AVX=no" ;;
armv[67]*) make_build_args+=" USE_AVX=no" ;;
esac
2016-12-24 08:46:23 +00:00
do_install() {
vbin i2pd
vman debian/i2pd.1
vsconf docs/i2pd.conf
vsconf docs/tunnels.conf
vsconf docs/subscriptions.txt
vlicense LICENSE
}