To complete pack: gentoo ebuild
This commit is contained in:
parent
69e4c6901d
commit
2ee8ece061
1
gentoo/telegram-cli/Manifest
Normal file
1
gentoo/telegram-cli/Manifest
Normal file
@ -0,0 +1 @@
|
||||
EBUILD telegram-cli-9999.ebuild 641 SHA256 4597e2f84c36b1ee02ecc415c399408bb8536b456e94370e996d57477db621be SHA512 287da263c9a4ba2058bf2f5844599432619053abc9249fd5725ed7b5e920c5c02e2493ad7b07f89177933b2c15394d939e7dc7dbf05d5873c32e55c9ec614d4c WHIRLPOOL 73dee37f91f1d4b747afc35c0a0cb2efb141d37702c71a7a9d188d2e1d727375c0ee3e7a1192e6c4c34f17ba1303f3a0be47b24272b5378ff255bce1a4a281be
|
31
gentoo/telegram-cli/telegram-cli-9999.ebuild
Normal file
31
gentoo/telegram-cli/telegram-cli-9999.ebuild
Normal file
@ -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="~amd64 ~x86"
|
||||
|
||||
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
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user