app-text/lchat - 1.0 (guru)

Search

Install

Install this version:

emerge -a =app-text/lchat-1.0

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =app-text/lchat-1.0

Or alternatively:

emerge --autounmask-write -a =app-text/lchat-1.0

Package Information

Description:
Line oriented front end for ii-like chat programs
Homepage:
https://tools.suckless.org/lchat/
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
1.0 8 ~amd64 0
View Raw Ebuild
# 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" LIBS="-lgrapheme $LDFLAGS" all
	if use examples; then
		emake CC="$(tc-getCC)" CFLAGS="$CFLAGS $LDFLAGS" filter/indent
	fi
}

src_install() {
	doman lchat.1
	dobin lchat
	mv filter/indent lchat-indent
	use examples && dobin lchat-indent
}

USE Flags

Manage flags for this package: euse -i <flag> -p app-text/lchat | euse -E <flag> -p app-text/lchat | euse -D <flag> -p app-text/lchat

Global/Standard Flags

examples
Default: Enabled (+)

Inherited Eclasses

Dependencies

DEPEND

dev-libs/libgrapheme

RDEPEND

dev-libs/libgrapheme

Manifest for 1.0

Type File Size Source URLs
DIST lchat-1.0.tar.gz 24455 bytes https://dl.suckless.org/tools/lchat-1.0.tar.gz