/[gentoo-x86]/app-i18n/kcc/kcc-1.0.ebuild
Gentoo

Contents of /app-i18n/kcc/kcc-1.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.19 - (show annotations) (download)
Sun Oct 28 14:21:58 2012 UTC (2 years ago) by ago
Branch: MAIN
CVS Tags: HEAD
Changes since 1.18: +2 -2 lines
Add ~amd64, wrt bug #439860

(Portage version: 2.1.11.9/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-i18n/kcc/kcc-1.0.ebuild,v 1.18 2012/07/15 04:44:00 hattya Exp $
4
5 EAPI="4"
6
7 inherit eutils toolchain-funcs
8
9 DESCRIPTION="A Kanji code converter"
10 HOMEPAGE="http://www2s.biglobe.ne.jp/~Nori/ruby/"
11 SRC_URI="ftp://ftp.jp.freebsd.org/pub/FreeBSD/ports/distfiles/${PN}.tar.gz"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="~amd64 x86"
16 IUSE=""
17
18 S="${WORKDIR}/${PN}"
19
20 src_prepare() {
21 epatch "${FILESDIR}/${PN}-gcc3-gentoo.diff"
22 epatch "${FILESDIR}/${PN}-exit.diff"
23 sed -i "s:\(-o kcc\):\$(LDFLAGS) \1:" Makefile
24 }
25
26 src_compile() {
27 emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
28 }
29
30 src_install() {
31 dobin kcc
32 dodoc README
33 cp -f kcc.jman kcc.1 || die
34 doman -i18n=ja kcc.1
35 }

  ViewVC Help
Powered by ViewVC 1.1.20