net-im/telegram-cli - 9999 (didos)

Search

Install

Install this version:

emerge -a =net-im/telegram-cli-9999

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

autounmask =net-im/telegram-cli-9999

Or alternatively:

emerge --autounmask-write -a =net-im/telegram-cli-9999

Package Information

Description:
Command line interface client for Telegram
Homepage:
https://github.com/vysheng/tg
License:
GPL-2

Ebuild Details

Version EAPI Keywords Slot
9999 5 ~amd64 ~x86 0
View Raw Ebuild
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=5

EGIT_REPO_URI="https://github.com/vysheng/tg.git"
EGIT_BRANCH="master"
EGIT_HAS_SUBMODULES=1
inherit git-2
IUSE="+lua +json +python"
DESCRIPTION="Command line interface client for Telegram"
HOMEPAGE="https://github.com/vysheng/tg"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"

DEPEND="sys-libs/zlib
	sys-libs/readline
	dev-libs/libconfig
	dev-libs/openssl
	dev-libs/libevent
	lua? ( dev-lang/lua )
	json? ( dev-libs/jansson )
	python? ( dev-lang/python )"

src_unpack() {
	git-2_src_unpack
	cd $EGIT_SOURCEDIR
	git submodule update --init --recursive
}

src_configure() {
	econf $(use_enable lua liblua )
	econf $(use_enable python python )
	econf $(use_enable json json )
}

src_install() {
	newbin bin/telegram-cli telegram-cli

	insinto /etc/telegram-cli/
	newins tg-server.pub server.pub
}

USE Flags

Manage flags for this package: euse -i <flag> -p net-im/telegram-cli | euse -E <flag> -p net-im/telegram-cli | euse -D <flag> -p net-im/telegram-cli

Global/Standard Flags

lua
Default: Enabled (+)
json
Default: Enabled (+)
python
Default: Enabled (+)

Inherited Eclasses

Dependencies

DEPEND

sys-libs/zlib
	sys-libs/readline
	dev-libs/libconfig
	dev-libs/openssl
	dev-libs/libevent
	lua? ( dev-lang/lua )
	json? ( dev-libs/jansson )
	python? ( dev-lang/python )