/[gentoo-x86]/app-i18n/kanjipad/kanjipad-2.0.0.ebuild
Gentoo

Contents of /app-i18n/kanjipad/kanjipad-2.0.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.13 - (show annotations) (download)
Sat Jan 25 05:38:28 2014 UTC (5 years, 11 months ago) by naota
Branch: MAIN
CVS Tags: HEAD
Changes since 1.12: +4 -3 lines
Add patch to deal with underlinking. #498872

(Portage version: 2.2.8/cvs/Linux x86_64, signed Manifest commit with key F8551514)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-i18n/kanjipad/kanjipad-2.0.0.ebuild,v 1.12 2012/07/18 11:27:58 naota Exp $
4
5 EAPI="2"
6
7 inherit eutils toolchain-funcs
8
9 DESCRIPTION="Japanese handwriting recognition tool"
10 HOMEPAGE="http://fishsoup.net/software/kanjipad/"
11 SRC_URI="http://fishsoup.net/software/kanjipad/${P}.tar.gz"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="x86 amd64 ppc64"
16 IUSE=""
17
18 RDEPEND="x11-libs/gtk+:2
19 dev-libs/glib:2"
20 DEPEND="${RDEPEND}
21 virtual/pkgconfig"
22
23 src_prepare() {
24 epatch "${FILESDIR}"/${P}-cflags.patch \
25 "${FILESDIR}"/${P}-underlinking.patch
26 }
27
28 src_compile() {
29 tc-export CC
30 perl -i -pe "s|PREFIX=/usr/local|PREFIX=/usr|;
31 s|-DG.*DISABLE_DEPRECATED||g" Makefile || die
32
33 emake || die
34 }
35
36 src_install() {
37 dobin kanjipad kpengine || die
38 insinto /usr/share/kanjipad
39 doins jdata.dat || die
40 dodoc ChangeLog README TODO jstroke/README-kanjipad
41 }

  ViewVC Help
Powered by ViewVC 1.1.20