Changeset - 2367c3753f2c
[Not reviewed]
0 0 2
Chel Sea (chain) - 6 years ago 2018-06-07 10:05:16
chain@rpgfiction.net
add net-im/telegram-cli to repository
2 files changed with 45 insertions and 0 deletions:
0 comments (0 inline, 0 general)
net-im/telegram-cli/Manifest
Show inline comments
 
new file 100644
 
EBUILD telegram-cli-9999.ebuild 926 SHA256 d9c959af30c77afe8e6b1cee162e5362edfb9da6980b53ef71c3cae5f621bf05 SHA512 eeef9e1d2d7cd0b600be0d44de39e9c38207d5fb8f675e7ba239c1e907ab5df6e198a5810e6bb08445c7c2a98cc50bf78554f52b4c7c0534f111bfa3256b8186 WHIRLPOOL 700a6fd9930074ec36dfb3f4b248a43e6d7c0ab0f97ed6b56343e79fb15a087d99eb52ad67a818e67cbb1a848d65cc395f60b319f3fda60c87c10e9f4e132838
net-im/telegram-cli/telegram-cli-9999.ebuild
Show inline comments
 
new file 100644
 
# 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
 
}
0 comments (0 inline, 0 general)