Files
minazuki-overlay/net-im/mcabber/mcabber-1.1.2.ebuild
Shin'ya Minazuki 92cb43f275 Add net-im/mcabber
Signed-off-by: Shin'ya Minazuki <shinyoukai@laidback.moe>
2026-04-06 17:46:08 -03:00

45 lines
837 B
Bash

# Copyright 2026 Shin'ya Minazuki
EAPI=8
DESCRIPTION="A small console-based client for Jabber/XMPP"
HOMEPAGE="https://mcabber.com"
SRC_URI="https://mcabber.com/files/${P}.tar.bz2"
LICENSE="GPL-2+-with-openssl-linking-exception"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="aspell debug enchant gpgme otr sigwinch +ssl"
BDEPEND="
virtual/pkgconfig
"
DEPEND="
dev-libs/glib
net-libs/libidn
net-libs/loudmouth
sys-libs/ncurses
aspell? ( app-text/aspell )
enchant? ( app-text/enchant )
gpgme? ( app-crypt/gpgme )
otr? ( net-libs/libotr )
ssl? ( dev-libs/openssl )
"
RDEPEND="${DEPEND}"
src_configure() {
econf \
$(use_enable aspell) \
$(use_enable debug) \
$(use_enable enchant) \
$(use_enable gpgme) \
$(use_enable otr) \
$(use_enable sigwinch) \
$(use_enable ssl)
}
src_install() {
emake DESTDIR="${D}" install
}