summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-i18n')
-rw-r--r--app-i18n/sunpinyin-data/ChangeLog7
-rw-r--r--app-i18n/sunpinyin-data/sunpinyin-data-20130220.ebuild38
2 files changed, 44 insertions, 1 deletions
diff --git a/app-i18n/sunpinyin-data/ChangeLog b/app-i18n/sunpinyin-data/ChangeLog
index c82db7f03273..6259e7694f42 100644
--- a/app-i18n/sunpinyin-data/ChangeLog
+++ b/app-i18n/sunpinyin-data/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-i18n/sunpinyin-data
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-i18n/sunpinyin-data/ChangeLog,v 1.1 2013/01/30 13:33:55 yngwin Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/sunpinyin-data/ChangeLog,v 1.2 2013/03/10 06:28:27 naota Exp $
+
+*sunpinyin-data-20130220 (10 Mar 2013)
+
+ 10 Mar 2013; Naohiro Aota <naota@gentoo.org> +sunpinyin-data-20130220.ebuild:
+ version bump. #460742
*sunpinyin-data-20121025 (30 Jan 2013)
diff --git a/app-i18n/sunpinyin-data/sunpinyin-data-20130220.ebuild b/app-i18n/sunpinyin-data/sunpinyin-data-20130220.ebuild
new file mode 100644
index 000000000000..abd0255afe29
--- /dev/null
+++ b/app-i18n/sunpinyin-data/sunpinyin-data-20130220.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/sunpinyin-data/sunpinyin-data-20130220.ebuild,v 1.1 2013/03/10 06:28:27 naota Exp $
+
+EAPI=5
+
+DICT_VERSION="${PV}"
+LM_VERSION="20121025"
+
+DESCRIPTION="Data sets for Sunpinyin"
+HOMEPAGE="https://open-gram.googlecode.com/"
+SRC_URI="http://open-gram.googlecode.com/files/dict.utf8-${DICT_VERSION}.tar.bz2
+ http://open-gram.googlecode.com/files/lm_sc.t3g.arpa-${LM_VERSION}.tar.bz2"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=">=app-i18n/sunpinyin-2.0.4_pre20130108"
+RDEPEND="${DEPEND}"
+
+src_unpack() {
+ default
+ mkdir "${S}" || die
+ mv "${WORKDIR}"/dict.utf8 "${S}" || die
+ mv "${WORKDIR}"/lm_sc.t3g.arpa "${S}" || die
+ cp "${FILESDIR}"/SLM-inst.mk "${S}"/Makefile || die
+}
+
+src_compile() {
+ # we don't have any big-endian architectures keyworded yet, so hardcode
+ emake ENDIANNESS=le
+}
+
+src_install() {
+ emake ENDIANNESS=le DESTDIR="${D}" install
+}