mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-09 23:23:00 -04:00
Closes: https://bugs.gentoo.org/955535 Signed-off-by: ingenarel <ingenarelitems@gmail.com>
27 lines
495 B
Bash
27 lines
495 B
Bash
# Copyright 1999-2021 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit git-r3 toolchain-funcs
|
|
|
|
DESCRIPTION="A small, GET-only static HTTP server"
|
|
HOMEPAGE="https://tools.suckless.org/quark/"
|
|
EGIT_REPO_URI="https://git.suckless.org/quark/"
|
|
|
|
if [[ ${PV} != *9999* ]]; then
|
|
EGIT_COMMIT=""
|
|
fi
|
|
|
|
LICENSE="ISC"
|
|
SLOT="0"
|
|
|
|
PATCHES=(
|
|
"${FILESDIR}"/quark-9999-configure.patch
|
|
)
|
|
|
|
src_configure() {
|
|
export CC=$(tc-getCC)
|
|
export PREFIX="${EPREFIX}"/usr
|
|
}
|