mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-04 01:37:34 -08:00
29 lines
703 B
Bash
29 lines
703 B
Bash
# Copyright 1999-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
NGX_BROTLI_P="ngx-brotli-a71f9312c2deb28875acc7bacfdd5695a111aa53"
|
|
|
|
MY_PN="${PN//-/_}"
|
|
NGINX_MOD_S="${WORKDIR}/${MY_PN}-${NGX_BROTLI_P#ngx-brotli-}"
|
|
inherit nginx-module
|
|
|
|
DESCRIPTION="NGINX module for Brotli compression"
|
|
HOMEPAGE="https://github.com/google/ngx_brotli"
|
|
SRC_URI="
|
|
https://github.com/google/ngx_brotli/archive/${NGX_BROTLI_P#ngx-brotli-}.tar.gz -> ${NGX_BROTLI_P}.tar.gz
|
|
"
|
|
|
|
LICENSE="BSD-2"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 arm64"
|
|
|
|
BDEPEND="virtual/pkgconfig"
|
|
DEPEND="app-arch/brotli:="
|
|
RDEPEND="${DEPEND}"
|
|
|
|
PATCHES=(
|
|
"${FILESDIR}/${PN}-1.0.0_rc_p20231109-use-system-brotli.patch"
|
|
)
|