summaryrefslogtreecommitdiff
path: root/net-im/telegram-cli
diff options
context:
space:
mode:
Diffstat (limited to 'net-im/telegram-cli')
-rw-r--r--net-im/telegram-cli/Manifest1
-rw-r--r--net-im/telegram-cli/telegram-cli-9999.ebuild31
2 files changed, 32 insertions, 0 deletions
diff --git a/net-im/telegram-cli/Manifest b/net-im/telegram-cli/Manifest
new file mode 100644
index 00000000..e72df7c5
--- /dev/null
+++ b/net-im/telegram-cli/Manifest
@@ -0,0 +1 @@
+EBUILD telegram-cli-9999.ebuild 630 SHA256 46517ec61e0bd4b4f36d78952d6ddc712f503551fcba1ba2e44e250b148783f7 SHA512 274b3445b4c200791dd989b1c9efb0f0b1b9a4679f5cc8344521c01d438ce2dcd46c5b28ee0e9668997bf1f637299a1ce44b75c0561c43ead2282628e5ea44e1 WHIRLPOOL 5f36c5567f57be5f7ca7b35c44ce83a10377f94b548c6a44f77d4a4c3869fa86012b3df2ebc21ec90302df141d4e27d44c525d4e5da292ed47ee27526ec9034d
diff --git a/net-im/telegram-cli/telegram-cli-9999.ebuild b/net-im/telegram-cli/telegram-cli-9999.ebuild
new file mode 100644
index 00000000..bd4917a8
--- /dev/null
+++ b/net-im/telegram-cli/telegram-cli-9999.ebuild
@@ -0,0 +1,31 @@
+# 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"
+inherit git-2
+IUSE="lua"
+DESCRIPTION="Command line interface client for Telegram"
+HOMEPAGE="https://github.com/vysheng/tg"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS=""
+
+DEPEND="sys-libs/zlib
+ sys-libs/readline
+ dev-libs/libconfig
+ dev-libs/openssl
+ lua? ( dev-lang/lua )"
+
+src_configure() {
+ econf $(use_enable lua liblua ) --with-progname=telegram-cli
+}
+
+src_install() {
+ newbin telegram telegram-cli
+
+ insinto /etc/telegram-cli/
+ newins tg.pub server.pub
+}