/[gentoo-x86]/app-i18n/sunpinyin-data/sunpinyin-data-20130220.ebuild
Gentoo

Contents of /app-i18n/sunpinyin-data/sunpinyin-data-20130220.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Fri May 1 05:52:19 2015 UTC (4 years, 9 months ago) by jer
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +2 -2 lines
Stable for PPC64 (bug #540844).

(Portage version: 2.2.18/cvs/Linux x86_64, RepoMan options: --ignore-arches, signed Manifest commit with key A792A613)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-i18n/sunpinyin-data/sunpinyin-data-20130220.ebuild,v 1.3 2015/04/19 11:34:01 blueness Exp $
4
5 EAPI=5
6
7 DICT_VERSION="${PV}"
8 LM_VERSION="20121025"
9
10 DESCRIPTION="Data sets for Sunpinyin"
11 HOMEPAGE="https://open-gram.googlecode.com/"
12 SRC_URI="http://open-gram.googlecode.com/files/dict.utf8-${DICT_VERSION}.tar.bz2
13 http://open-gram.googlecode.com/files/lm_sc.t3g.arpa-${LM_VERSION}.tar.bz2"
14
15 LICENSE="Apache-2.0"
16 SLOT="0"
17 KEYWORDS="amd64 ~ppc ppc64 ~x86"
18 IUSE=""
19
20 DEPEND=">=app-i18n/sunpinyin-2.0.4_pre20130108"
21 RDEPEND="${DEPEND}"
22
23 src_unpack() {
24 default
25 mkdir "${S}" || die
26 mv "${WORKDIR}"/dict.utf8 "${S}" || die
27 mv "${WORKDIR}"/lm_sc.t3g.arpa "${S}" || die
28 cp "${FILESDIR}"/SLM-inst.mk "${S}"/Makefile || die
29 }
30
31 src_compile() {
32 # we don't have any big-endian architectures keyworded yet, so hardcode
33 emake ENDIANNESS=le
34 }
35
36 src_install() {
37 emake ENDIANNESS=le DESTDIR="${D}" install
38 }

  ViewVC Help
Powered by ViewVC 1.1.20