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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sun Apr 19 11:34:01 2015 UTC (4 years, 9 months ago) by blueness
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +3 -3 lines
Keyword ~ppc and ~ppc64.  Bug #498686.

(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0xF52D4BBA)

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-20121025.ebuild,v 1.1 2013/01/30 13:33:55 yngwin Exp $
4
5 EAPI=5
6
7 DICT_VERSION="20120830"
8 LM_VERSION="${PV}"
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