1 # Copyright 1999-2021 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
5 inherit autotools eutils
7 DESCRIPTION
="Library to deal with Pinyin."
8 HOMEPAGE
="https://github.com/libpinyin/libpinyin"
9 SRC_URI
="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
10 http://downloads.sourceforge.net/${PN}/model7.text.tar.gz"
14 KEYWORDS
="~amd64 ~x86"
18 DEPEND
=">=sys-libs/db-4
24 ln -s "${DISTDIR}/model7.text.tar.gz" "${S}/data" || die
"link file error"
25 sed -i '/wget.*model7\.text\.tar\.gz/ d' "${S}/data/Makefile.am"