summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlastair Tse <liquidx@gentoo.org>2003-08-29 18:12:41 +0000
committerAlastair Tse <liquidx@gentoo.org>2003-08-29 18:12:41 +0000
commita5d39be552bd062ec5e9c165aa4e856928116e20 (patch)
treec9247a674c593b76dca9c591d53dd07aca0c547d /app-i18n
parentversion bump (diff)
downloadhistorical-a5d39be552bd062ec5e9c165aa4e856928116e20.tar.gz
historical-a5d39be552bd062ec5e9c165aa4e856928116e20.tar.bz2
historical-a5d39be552bd062ec5e9c165aa4e856928116e20.zip
version bump
Diffstat (limited to 'app-i18n')
-rw-r--r--app-i18n/scim-chinese/Manifest4
-rw-r--r--app-i18n/scim-chinese/files/digest-scim-chinese-0.2.41
-rw-r--r--app-i18n/scim-chinese/scim-chinese-0.2.4.ebuild60
3 files changed, 63 insertions, 2 deletions
diff --git a/app-i18n/scim-chinese/Manifest b/app-i18n/scim-chinese/Manifest
index e969f99fccf1..dd725787eb04 100644
--- a/app-i18n/scim-chinese/Manifest
+++ b/app-i18n/scim-chinese/Manifest
@@ -1,9 +1,9 @@
-MD5 ffcea0a9085646e33e20c93a36168c3f ChangeLog 1163
+MD5 6d3fc66a75e19ee25dc5c56c7b0029d7 ChangeLog 1290
MD5 e92a48548554c80cf90e18df17ff6a82 metadata.xml 156
MD5 276146ae5bb24a294d5f34060eb94a71 scim-chinese-0.2.1.ebuild 1571
MD5 3f848695922b93b356454ee4d4d99659 scim-chinese-0.2.2.ebuild 1462
MD5 30b43d0e7824788428bcb03e6b0e7dd8 scim-chinese-0.2.3.ebuild 1462
-MD5 30b43d0e7824788428bcb03e6b0e7dd8 scim-chinese-0.2.4.ebuild 1462
+MD5 2426081715d87bac6cf09dfb43fcd4d0 scim-chinese-0.2.4.ebuild 1462
MD5 711ddeffc04e00fc58aae25eb1f6e5d5 files/digest-scim-chinese-0.2.1 75
MD5 15dac5aa5dc2201721bada665c53992e files/digest-scim-chinese-0.2.2 75
MD5 fd1fe18f77ec7387477232c08265135b files/digest-scim-chinese-0.2.3 75
diff --git a/app-i18n/scim-chinese/files/digest-scim-chinese-0.2.4 b/app-i18n/scim-chinese/files/digest-scim-chinese-0.2.4
new file mode 100644
index 000000000000..80e3c41b062a
--- /dev/null
+++ b/app-i18n/scim-chinese/files/digest-scim-chinese-0.2.4
@@ -0,0 +1 @@
+MD5 e1c119188cd73d9d8b39c21e2da0e125 scim-chinese-0.2.4-1.i586.rpm 2249938
diff --git a/app-i18n/scim-chinese/scim-chinese-0.2.4.ebuild b/app-i18n/scim-chinese/scim-chinese-0.2.4.ebuild
new file mode 100644
index 000000000000..19eaa16eb619
--- /dev/null
+++ b/app-i18n/scim-chinese/scim-chinese-0.2.4.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/scim-chinese/scim-chinese-0.2.4.ebuild,v 1.1 2003/08/29 18:12:37 liquidx Exp $
+
+inherit rpm
+
+DESCRIPTION="Smart Common Input Method (SCIM) Closed Source Pinyin Input Method"
+HOMEPAGE="http://www.turbolinux.com.cn/~suzhe/scim/"
+SRC_URI="http://www.turbolinux.com.cn/~suzhe/scim/scim-chinese/${P}-1.i586.rpm"
+
+LICENSE="scim-chinese"
+SLOT="0"
+KEYWORDS="x86 -*"
+IUSE=""
+
+DEPEND="virtual/x11
+ >=app-i18n/scim-0.6.1"
+
+S=${WORKDIR}
+
+src_compile() {
+ return
+}
+
+dosym_r() {
+ srcdir=$1
+ dstdir=$2
+
+ for x in `find ${D}${srcdir}`; do
+ dst=${dstdir}${x#$D$srcdir}
+ src=${x#$D}
+ einfo "Linking $src to $dst"
+ if [ ! -d "`dirname $D$dst`" ]; then
+ dodir ${dst}
+ fi
+ dosym $src $dst
+ done
+
+}
+
+src_install() {
+ # get installed scim version
+ SCIM_VER=$(scim -h | grep "Smart Common Input Method" | awk '{print $5}')
+
+ # install into /opt because this is binary-only
+ PREFIX=/opt/scim-chinese
+
+ cd ${S}
+ insinto ${PREFIX}/lib/scim-1.0/Server
+ doins usr/lib/scim-1.0/Server/*
+ dosym_r ${PREFIX}/lib/scim-1.0/Server /usr/lib/scim-1.0/${SCIM_VER}/Server
+
+ insinto ${PREFIX}/share/scim/chinese
+ doins usr/share/scim/chinese/*
+ dosym_r ${PREFIX}/share/scim/chinese /usr/share/scim/chinese
+
+ insinto /etc/gconf/schemas
+ doins etc/gconf/schemas/*
+ dodoc usr/share/doc/packages/${PF}/{AUTHORS,COPYING,README}
+}