Files
guru/x11-misc/xob/xob-0.2.ebuild
Ronny (tastytea) Gutbrod a3801d8749 x11-misc/xob: Set CC.
Makefile calls `$(CC)`, which seems to default to `cc`.

Closes: https://bugs.gentoo.org/785211
Signed-off-by: Ronny (tastytea) Gutbrod <gentoo@tastytea.de>
2021-04-23 21:17:23 +02:00

33 lines
649 B
Bash

# Copyright 2020-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit toolchain-funcs
DESCRIPTION="A lightweight overlay volume (or anything) bar for the X Window System"
HOMEPAGE="https://github.com/florentc/xob"
SRC_URI="https://github.com/florentc/xob/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND="
x11-libs/libX11
dev-libs/libconfig
"
DEPEND="${RDEPEND}"
src_compile() {
tc-export CC
default
}
src_install() {
emake prefix="${EPREFIX}"/usr \
sysconfdir="${EPREFIX}"/etc \
DESTDIR="${D}" install
dodoc CHANGELOG.md README.md
}