Files
haikuports/net-vpn/i2pd/i2pd-2.59.0.recipe
2026-02-17 17:49:11 +01:00

80 lines
2.4 KiB
Bash

SUMMARY="End-to-End encrypted and anonymous Internet"
DESCRIPTION="i2pd (I2P Daemon) is a full-featured C++ implementation of I2P client with native GUI.
I2P (Invisible Internet Protocol) is a universal anonymous network layer.
All communications over I2P are anonymous and end-to-end encrypted, \
participants don't reveal their real IP addresses.
I2P client is a software used for building and using anonymous I2P networks.
Such networks are commonly used for anonymous peer-to-peer applications \
(filesharing, cryptocurrencies) and anonymous client-server applications \
(websites, instant messengers, chat-servers).
I2P allows people from all around the world to communicate and share \
information without restrictions."
HOMEPAGE="https://i2pd.website/"
COPYRIGHT="i2pd developers"
LICENSE="BSD (3-clause)"
REVISION="1"
SOURCE_URI="https://github.com/PurpleI2P/i2pd/archive/refs/tags/$portVersion.tar.gz"
CHECKSUM_SHA256="0ebeb05e4f36ab3809449561a095dc767ad821ac6a61c95623ab49be4ffd398b"
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
boostMinumumVersion="1.88.0"
PROVIDES="
i2pd$secondaryArchSuffix
cmd:i2pd$secondaryArchSuffix
lib:libi2pd$secondaryArchSuffix
lib:libi2pdclient$secondaryArchSuffix
lib:libi2pdlang$secondaryArchSuffix
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libboost_date_time$secondaryArchSuffix
lib:libboost_filesystem$secondaryArchSuffix
lib:libboost_program_options$secondaryArchSuffix
lib:libboost_system$secondaryArchSuffix
lib:libcrypto$secondaryArchSuffix
lib:libminiupnpc$secondaryArchSuffix
lib:libssl$secondaryArchSuffix
lib:libz$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libboost_config$secondaryArchSuffix >= $boostMinumumVersion
devel:libboost_date_time$secondaryArchSuffix >= $boostMinumumVersion
devel:libboost_filesystem$secondaryArchSuffix >= $boostMinumumVersion
devel:libboost_program_options$secondaryArchSuffix >= $boostMinumumVersion
devel:libboost_system$secondaryArchSuffix >= $boostMinumumVersion
devel:libcrypto$secondaryArchSuffix >= 3
devel:libminiupnpc$secondaryArchSuffix
devel:libssl$secondaryArchSuffix >= 3
devel:libz$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:gcc$secondaryArchSuffix
cmd:linguist$secondaryArchSuffix >= 5
cmd:lrelease$secondaryArchSuffix >= 5
cmd:make
cmd:pkg_config$secondaryArchSuffix
"
BUILD()
{
USE_UPNP=yes make $jobArgs
}
INSTALL()
{
mkdir -p $binDir
make install
cp i2pd $binDir
addAppDeskbarSymlink $binDir/i2pd
}