summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatsuu Takuto <matsuu@gentoo.org>2010-09-20 02:46:56 +0000
committerMatsuu Takuto <matsuu@gentoo.org>2010-09-20 02:46:56 +0000
commite555d9e08963025df2d6cf6542dd6d499465713e (patch)
treeb3a234479ce21f142f25a06b397b4b3bf2be771e /app-i18n/opencc
parentVersion bumped. (diff)
downloadgentoo-2-e555d9e08963025df2d6cf6542dd6d499465713e.tar.gz
gentoo-2-e555d9e08963025df2d6cf6542dd6d499465713e.tar.bz2
gentoo-2-e555d9e08963025df2d6cf6542dd6d499465713e.zip
Initial import.
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'app-i18n/opencc')
-rw-r--r--app-i18n/opencc/ChangeLog10
-rw-r--r--app-i18n/opencc/metadata.xml10
-rw-r--r--app-i18n/opencc/opencc-0.1.2.ebuild27
3 files changed, 47 insertions, 0 deletions
diff --git a/app-i18n/opencc/ChangeLog b/app-i18n/opencc/ChangeLog
new file mode 100644
index 000000000000..377fda9624ac
--- /dev/null
+++ b/app-i18n/opencc/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for app-i18n/opencc
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/opencc/ChangeLog,v 1.1 2010/09/20 02:46:56 matsuu Exp $
+
+*opencc-0.1.2 (20 Sep 2010)
+
+ 20 Sep 2010; MATSUU Takuto <matsuu@gentoo.org> +opencc-0.1.2.ebuild,
+ +metadata.xml:
+ Initial import.
+
diff --git a/app-i18n/opencc/metadata.xml b/app-i18n/opencc/metadata.xml
new file mode 100644
index 000000000000..e23ad6927607
--- /dev/null
+++ b/app-i18n/opencc/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>cjk</herd>
+<longdescription lang="en">
+OpenCC is a library for converting characters and phrases between
+Traditional Chinese and Simplified Chinese.
+</longdescription>
+</pkgmetadata>
+
diff --git a/app-i18n/opencc/opencc-0.1.2.ebuild b/app-i18n/opencc/opencc-0.1.2.ebuild
new file mode 100644
index 000000000000..ddd1ff9b2c95
--- /dev/null
+++ b/app-i18n/opencc/opencc-0.1.2.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/opencc/opencc-0.1.2.ebuild,v 1.1 2010/09/20 02:46:56 matsuu Exp $
+
+EAPI=3
+
+DESCRIPTION="Libraries for Simplified-Traditional Chinese Conversion"
+HOMEPAGE="http://code.google.com/p/open-chinese-convert/"
+SRC_URI="http://open-chinese-convert.googlecode.com/files/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="nls"
+
+DEPEND="nls? ( sys-devel/gettext )"
+RDEPEND="nls? ( virtual/libintl )"
+
+src_configure() {
+ econf $(use_enable nls) || die
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+
+ dodoc AUTHORS ChangeLog NEWS README || die
+}