Files
gentoo-zh/dev-libs/libthai/libthai-0.1.28.ebuild
T
liuyujielol 0755dd4a2a dev-libs/libthai: use eautorconf
InternalEclassUsage: version 0.1.28: autotools: internal usage: '_elibtoolize --force', line 38
InternalEclassUsage: version 0.1.29: autotools: internal usage: '_elibtoolize --force', line 35

Signed-off-by: liuyujielol <2073201758GD@gmail.com>
2023-11-15 22:40:11 +08:00

38 lines
871 B
Bash

# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit autotools
DESCRIPTION="A a set of Thai language support routines"
HOMEPAGE="https://github.com/tlwg/libthai"
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="dev-libs/libdatrie"
DEPEND="${RDEPEND}"
BDEPEND="dev-vcs/git"
PATCHES=(
"${FILESDIR}/${P}-fix-duplicate-dir.patch" #fix autoconf-2.7
)
src_prepare() {
default
# Fixed version if in non git project
echo ${PV} > VERSION
# From upstreams autogen.sh, to make it utilize the autotools eclass
# use eautoreconf from autotools.eclass instead of autogen.sh
eautoreconf
}