summaryrefslogtreecommitdiff
path: root/app-arch/brzip/brzip-0.3.4.ebuild
blob: 76b7934456b4ecc2ede1b79717ed8b21437c1252 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit meson

DESCRIPTION="A compression utility based on Brotli algorithm"
HOMEPAGE="https://gitlab.com/ms1888/brzip"
SRC_URI="https://gitlab.com/ms1888/brzip/-/archive/${PV}/${P}.tar.bz2"

LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64"

RDEPEND="
	app-arch/brotli:=
	app-crypt/libmd
	dev-libs/xxhash:="
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"

src_configure() {
	local emesonargs=(
		-Dlibmd=true
	)

	meson_src_configure
}

src_install() {
	meson_src_install

	dosym brzip /usr/bin/brzcat
	dosym brzip /usr/bin/brunzip
	dosym brzip.1 /usr/share/man/man1/brzcat.1
	dosym brzip.1 /usr/share/man/man1/brunzip.1
}