net-im/wemeet: Wemeet - Tencent Video Conferencing (#1186)
[gentoo-zh.git] / app-i18n / zh-autoconvert / zh-autoconvert-0.3.16-r3.ebuild
blob31a0d440e7088834e0016d951f4ed41b08a5c4cb
1 # Copyright 1999-2021 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
4 EAPI=7
6 inherit eutils
8 DESCRIPTION="Chinese HZ/GB/BIG5/UNI/UTF7/UTF8 encodings auto-converter"
9 HOMEPAGE="https://packages.debian.org/stable/source/zh-autoconvert"
10 SRC_URI="mirror://debian/pool/main/z/${PN}/${PN}_${PV}.orig.tar.gz
11         mirror://debian/pool/main/z/${PN}/${PN}_${PV}-3.diff.gz"
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="~amd64 ~x86"
16 IUSE=""
18 RESTRICT="mirror"
20 DEPEND=""
21 RDEPEND="${DEPEND}"
23 S=${WORKDIR}/${P/zh-}
25 PATCHES=(
26         "${WORKDIR}/${PN}_${PV}-3.diff"
29 src_prepare() {
30         default
32         # don't build xchat-plugins
33         # so don't depend on gtk+-1.2 anymore
34         sed -i -e 's/[ ]*xchat-plugins$//' Makefile
37 src_compile() {
38         emake -j1 || die "emake failed"
41 src_install() {
42         dobin autogb
43         dosym autogb /usr/bin/autob5
45         dolib.a lib/libhz.a
46         dolib.so lib/libhz.so.0.0
47         dosym libhz.so.0.0 /usr/lib/libhz.so.0
48         dosym libhz.so.0 /usr/lib/libhz.so
50         insinto /usr/include
51         doins include/*.h