gentoo-zh/dev-libs/tdlib/tdlib-9999.ebuild
2023-11-15 08:43:35 +08:00

28 lines
558 B
Bash

# Copyright 2019-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit cmake git-r3
DESCRIPTION="Cross-platform library for building Telegram clients"
HOMEPAGE="https://core.telegram.org/tdlib"
EGIT_REPO_URI="https://github.com/tdlib/td.git"
EGIT_BRANCH="master"
EGIT_CHECKOUT_DIR="${WORKDIR}/td"
LICENSE="BSL-1.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
DEPEND="sys-devel/gcc
dev-libs/openssl
sys-libs/zlib
dev-util/gperf
dev-util/cmake
"
RDEPEND="${DEPEND}"
S="${EGIT_CHECKOUT_DIR}"
BUILD_DIR="${S}/build"