void-packages/srcpkgs/i2pd/template

32 lines
840 B
Bash
Raw Normal View History

2016-12-24 09:46:23 +01:00
# Template file for 'i2pd'
pkgname=i2pd
2017-01-04 08:27:29 +01:00
version=2.11.0
2017-04-22 19:31:10 +02:00
revision=4
2016-12-24 09:46:23 +01: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 08:27:29 +01:00
checksum=4d7946e33a6a1dd4439590ea23b494f36e6fbcb81f7b36857bf264413a19e9db
system_accounts="_i2pd"
2016-12-24 09:46:23 +01:00
2017-01-10 20:07:52 +01: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 09:46:23 +01:00
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
}