You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-i18n/zhcon/zhcon-0.2.6.ebuild

38 lines
1011 B

# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-i18n/zhcon/zhcon-0.2.6.ebuild,v 1.4 2009/06/09 13:21:55 flameeyes Exp $
WANT_AUTOMAKE="1.9"
inherit eutils autotools
MY_P=${P/6/5}
S="${WORKDIR}/${MY_P}"
DESCRIPTION="A Fast CJK (Chinese/Japanese/Korean) Console Environment"
HOMEPAGE="http://zhcon.sourceforge.net/"
SRC_URI="mirror://sourceforge/zhcon/${MY_P}.tar.gz
mirror://sourceforge/zhcon/zhcon-0.2.5-to-0.2.6.diff.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${DISTDIR}"/zhcon-0.2.5-to-0.2.6.diff.gz
epatch "${FILESDIR}"/zhcon-0.2.5.make-fix.patch
epatch "${FILESDIR}"/${P}.sysconfdir.patch
epatch "${FILESDIR}"/${P}.configure.in.patch
epatch "${FILESDIR}"/${P}+gcc-4.3.patch
eautoreconf
}
src_install() {
emake -j1 DESTDIR="${D}" install || die
dodoc AUTHORS ChangeLog README NEWS TODO THANKS
dodoc README.BSD README.gpm README.utf8
}