36 lines
914 B
Bash
36 lines
914 B
Bash
# Template file for 'i2pd'
|
|
pkgname=i2pd
|
|
version=2.24.0
|
|
revision=1
|
|
build_style=gnu-makefile
|
|
make_build_args="USE_UPNP=yes"
|
|
makedepends="zlib-devel boost-devel libressl-devel miniupnpc-devel
|
|
libatomic-devel"
|
|
short_desc="I2P Daemon - a full-featured C++ implementation of I2P client"
|
|
maintainer="Obosob <obosob@riseup.net>"
|
|
license="BSD-3-Clause"
|
|
homepage="http://i2pd.website/"
|
|
distfiles="https://github.com/PurpleI2P/i2pd/archive/${version}.tar.gz"
|
|
checksum=809b37100f0f176432b01ab6edee96dc62b0f65d5bf7531e008a87117e742566
|
|
system_accounts="_i2pd"
|
|
disable_parallel_build=true
|
|
|
|
make_dirs="/var/lib/i2pd 0755 _i2pd _i2pd"
|
|
|
|
case "${XBPS_TARGET_MACHINE}" in
|
|
aarch64*|armv*|mips*) make_build_args+=" USE_AESNI=no USE_AVX=no" ;;
|
|
esac
|
|
|
|
do_install() {
|
|
vbin i2pd
|
|
vman debian/i2pd.1
|
|
vsconf contrib/i2pd.conf
|
|
vsconf contrib/tunnels.conf
|
|
vsconf contrib/subscriptions.txt
|
|
vlicense LICENSE
|
|
}
|
|
|
|
post_install() {
|
|
vsv i2pd
|
|
}
|