1 # Copyright 1999-2021 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
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"
15 KEYWORDS="~amd64 ~x86"
26 "${WORKDIR}/${PN}_${PV}-3.diff"
32 # don't build xchat-plugins
33 # so don't depend on gtk+-1.2 anymore
34 sed -i -e 's/[ ]*xchat-plugins$//' Makefile
38 emake -j1 || die "emake failed"
43 dosym autogb /usr/bin/autob5
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