mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-12 18:26:39 +02:00
https://www.onioncat.org/ OnionCat is a VPN-adapter, which uses Tor or I2P as its transport.
36 lines
932 B
Text
36 lines
932 B
Text
# Contributor: Anon <danilagdn.2004@gmail.com>
|
|
# Maintainer: Anon <danilagdn.2004@gmail.com>
|
|
pkgname=onioncat
|
|
pkgver=4.11.0
|
|
pkgrel=1
|
|
pkgdesc="OnionCat is a VPN-adapter, which uses Tor or I2P as its transport."
|
|
url="https://www.onioncat.org/"
|
|
arch="x86 x86_64"
|
|
license="GPL-3.0-only"
|
|
depends="net-tools"
|
|
makedepends="automake autoconf libmnl-dev"
|
|
subpackages="$pkgname-doc"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/rahra/onioncat/archive/refs/tags/v$pkgver.tar.gz"
|
|
|
|
prepare() {
|
|
default_prepare
|
|
|
|
./autogen.sh
|
|
}
|
|
|
|
build() {
|
|
./configure --prefix=/usr --localstatedir=/var/lib --runstatedir=/run --sysconfdir=/etc
|
|
make
|
|
}
|
|
|
|
check() {
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
make prefix="$pkgdir/usr" exec_prefix="$pkgdir/usr" localstatedir="$pkgdir/var/lib" install
|
|
}
|
|
|
|
sha512sums="
|
|
5dc6538f343749530cbd2f29bdd6ba6bc1e921a4fae6f5c783dd2bc1d045ce304639acc5cea6c1946b7c938ce58b732c01ae1a00998f5438a414b4c623dfd0bf onioncat-4.11.0.tar.gz
|
|
"
|