Files
gentoo-zh/dev-libs/libdatrie/libdatrie-0.2.13.ebuild
T
Huang Rui 62affc40a0 net-im/dingtalk: bump to 1.0.0.203 (#1147)
* dev-libs/libdatrie: add depend package to support dingtalk

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Huang Rui <vowstar@gmail.com>

* dev-libs/libthai: add depend package to support dingtalk

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Huang Rui <vowstar@gmail.com>

* net-im/dingtalk: bump to 1.0.0.203

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Huang Rui <vowstar@gmail.com>
2021-08-10 20:03:47 +08:00

40 lines
897 B
Bash

# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit autotools
DESCRIPTION="Double-Array Trie Library"
HOMEPAGE="https://github.com/tlwg/libdatrie"
if [[ ${PV} == "9999" ]] ; then
inherit git-r3
EGIT_REPO_URI="https://github.com/tlwg/${PN}.git"
else
SRC_URI="https://github.com/tlwg/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
fi
LICENSE="LGPL-2.1"
SLOT="0"
RDEPEND=""
DEPEND="${RDEPEND}"
BDEPEND="dev-vcs/git"
src_prepare() {
default
# Fixed version if in non git project
echo ${PV} > VERSION
# From upstreams autogen.sh, to make it utilize the autotools eclass
# Here translate the autogen.sh, equivalent to the following code
# > sh autogen.sh
eautoheader
_elibtoolize --force
eaclocal
eautomake --add-missing
# Not allow git-version-gen does refresh
eautoconf
}