/[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.1 - (show annotations) (download)
Sun Mar 10 06:28:27 2013 UTC (7 years, 1 month ago) by naota
Branch: MAIN
version bump. #460742

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

1 # Copyright 1999-2013 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="${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 ~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