summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMasatomo Nakano <nakano@gentoo.org>2002-12-12 16:14:33 +0000
committerMasatomo Nakano <nakano@gentoo.org>2002-12-12 16:14:33 +0000
commit9356bd15ca857e48a781a68a11eaaf74f2adaff4 (patch)
treeffa6e83a45ec167e71f3bf74e9ca883a31565297 /app-i18n/xsim
parentit's now fhs-compliant (diff)
downloadgentoo-2-9356bd15ca857e48a781a68a11eaaf74f2adaff4.tar.gz
gentoo-2-9356bd15ca857e48a781a68a11eaaf74f2adaff4.tar.bz2
gentoo-2-9356bd15ca857e48a781a68a11eaaf74f2adaff4.zip
initial import.
Diffstat (limited to 'app-i18n/xsim')
-rw-r--r--app-i18n/xsim/ChangeLog10
-rw-r--r--app-i18n/xsim/files/digest-xsim-0.3.9.41
-rw-r--r--app-i18n/xsim/xsim-0.3.9.4.ebuild53
3 files changed, 64 insertions, 0 deletions
diff --git a/app-i18n/xsim/ChangeLog b/app-i18n/xsim/ChangeLog
new file mode 100644
index 000000000000..7122ab13f19b
--- /dev/null
+++ b/app-i18n/xsim/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for app-i18n/xsim
+# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/xsim/ChangeLog,v 1.1 2002/12/12 16:14:33 nakano Exp $
+
+*xsim-0.3.9.4 (12 Dec 2002)
+
+ 12 Dec 2002; Masatomo Nakano <nakano@gentoo.org> xsim-0.3.9.4.ebuild, files/digest-xsim-0.3.9.4, ChangeLog :
+
+ Initial import.
+ Thanks to zhaoming@tsinghua.org.cn (Ming Zhao) in bug #10568
diff --git a/app-i18n/xsim/files/digest-xsim-0.3.9.4 b/app-i18n/xsim/files/digest-xsim-0.3.9.4
new file mode 100644
index 000000000000..828534bc83f4
--- /dev/null
+++ b/app-i18n/xsim/files/digest-xsim-0.3.9.4
@@ -0,0 +1 @@
+MD5 645d68ee8c565c04782068c4546504d9 xsim-0.3.9.4.tar.gz 1025640
diff --git a/app-i18n/xsim/xsim-0.3.9.4.ebuild b/app-i18n/xsim/xsim-0.3.9.4.ebuild
new file mode 100644
index 000000000000..fc777fa9e4ec
--- /dev/null
+++ b/app-i18n/xsim/xsim-0.3.9.4.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/xsim/xsim-0.3.9.4.ebuild,v 1.1 2002/12/12 16:14:33 nakano Exp $
+
+KEYWORDS="~x86"
+DESCRIPTION="A simple and fast GBK Chinese XIM server."
+HOMEPAGE="http://developer.berlios.de/projects/xsim/"
+SRC_URI="http://download.berlios.de/xsim/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+
+DEPEND="virtual/glibc
+ >=sys-libs/db-3.0.0"
+IUSE=""
+
+SLOT="0"
+
+src_compile() {
+
+ cd ${S}
+ for file in `find . -iname Makefile.in`
+ do
+ sed -e "s/xsim_\(.*\)@prefix@/xsim_\1\$(DESTDIR)\/@prefix@/g" ${file} >Makefile.in.tmp
+ mv Makefile.in.tmp ${file}
+ done
+
+ ./configure \
+ --prefix=/usr/lib/xsim \
+ --mandir=/usr/share/man \
+ || die
+
+ for file in `find . -iname Makefile`
+ do
+ echo CFLAGS=${CFLAGS} > Makefile.tmp
+ echo CXXFLAGS=${CXXFLAGS} -Wno-deprecated >> Makefile.tmp
+ sed -e "s/CFLAGS =/CFLAGS+=/" -e "s/CXXFLAGS\t/CXXFLAGS+/" ${file} >> Makefile.tmp
+ mv Makefile.tmp ${file}
+ done
+
+ make || die
+}
+
+src_install () {
+ make DESTDIR=${D} \
+ install || die
+ make DESTDIR=${D} \
+ install-data || die
+ dodir /usr/bin
+ dosym /usr/lib/xsim/bin/xsim /usr/bin/xsim
+ # install docs
+ dodoc ChangeLog COPYING INSTALL README* TODO
+}
+