void-packages/srcpkgs/i2pd/template

31 lines
813 B
Bash
Raw Normal View History

2016-12-24 08:46:23 +00:00
# Template file for 'i2pd'
pkgname=i2pd
2017-09-26 09:29:00 +00:00
version=2.15.0
revision=1
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-09-26 09:29:00 +00:00
checksum=87649a1963b1d1b8f9424c0bccbdf6bbde0bb87db8dcf0b5c61f4c7f13181b86
system_accounts="_i2pd"
2016-12-24 08:46:23 +00:00
2017-01-10 19:07:52 +00:00
case "${XBPS_TARGET_MACHINE}" in
2017-09-26 16:50:03 +00:00
aarch64*|armv[67]*) make_build_args+=" USE_AESNI=no USE_AVX=no" ;;
2017-01-10 19:07:52 +00:00
esac
2016-12-24 08:46:23 +00:00
do_install() {
vbin i2pd
vman debian/i2pd.1
2017-09-26 09:29:00 +00:00
vsconf contrib/i2pd.conf
vsconf contrib/tunnels.conf
vsconf contrib/subscriptions.txt
2016-12-24 08:46:23 +00:00
vlicense LICENSE
}
post_install() {
vsv i2pd
}