mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-20 12:33:40 -04:00
28 lines
617 B
Bash
28 lines
617 B
Bash
# Copyright 1999-2024 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit toolchain-funcs
|
|
|
|
DESCRIPTION="Line oriented front end for ii-like chat programs"
|
|
HOMEPAGE="https://tools.suckless.org/lchat/"
|
|
SRC_URI="https://dl.suckless.org/tools/${P}.tar.gz"
|
|
LICENSE="MIT"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64"
|
|
RDEPEND="dev-libs/libgrapheme"
|
|
DEPEND="${RDEPEND}"
|
|
IUSE="+examples"
|
|
|
|
src_compile() {
|
|
emake CC="$(tc-getCC)" CFLAGS="$CFLAGS" all $(usex examples filter/indent)
|
|
}
|
|
|
|
src_install() {
|
|
doman lchat.1
|
|
dobin lchat
|
|
mv filter/indent lchat-indent
|
|
use examples && dobin lchat-indent
|
|
}
|