New package: oniux-0.4.0

This commit is contained in:
Duncaen 2025-05-14 22:03:47 +02:00
parent e8b75ba40f
commit c411811a27
No known key found for this signature in database
GPG key ID: 335C1D17EC3D6E35

26
srcpkgs/oniux/template Normal file
View file

@ -0,0 +1,26 @@
# Template file for 'oniux'
pkgname=oniux
version=0.4.0
revision=1
archs="x86_64* i686* aarch64* arm*" # ring
build_style=cargo
build_helper="rust"
hostmakedepends="pkg-config"
makedepends="libzstd-devel sqlite-devel"
short_desc="Isolate an arbitrary application over the Tor network"
maintainer="Duncaen <duncaen@voidlinux.org>"
license="MIT OR Apache-2.0"
homepage="https://gitlab.torproject.org/tpo/core/oniux"
distfiles="https://gitlab.torproject.org/tpo/core/oniux/-/archive/v${version}/oniux-v${version}.tar.gz"
checksum=fbb1ca986d61d658a70c959242ce8d8a41437d2ec99e25d416311c1045ea72ff
# aws-lc-sys only ships pre-generated files for certain architectures
case "${XBPS_TARGET_MACHINE}" in
armv[67]l*)
hostmakedepends+=" cmake rust-bindgen clang libzstd-devel sqlite-devel"
;;
esac
post_install() {
vlicense LICENSE-MIT
}