summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-08-05 15:39:31 +0000
committerMike Frysinger <vapier@gentoo.org>2003-08-05 15:39:31 +0000
commit08979feabf2af6e1a607a4ad3ee90c122bc24ffb (patch)
treec924ced29dad2f5a57257588776ba0c0eb184ccd /app-i18n/xsim
parentadded support for econf/emake, check the changelog (diff)
downloadhistorical-08979feabf2af6e1a607a4ad3ee90c122bc24ffb.tar.gz
historical-08979feabf2af6e1a607a4ad3ee90c122bc24ffb.tar.bz2
historical-08979feabf2af6e1a607a4ad3ee90c122bc24ffb.zip
need eutils for epatch
Diffstat (limited to 'app-i18n/xsim')
-rw-r--r--app-i18n/xsim/xsim-0.3.9.4-r1.ebuild15
-rw-r--r--app-i18n/xsim/xsim-0.3.9.4-r2.ebuild14
-rw-r--r--app-i18n/xsim/xsim-0.3.9.4.ebuild24
3 files changed, 22 insertions, 31 deletions
diff --git a/app-i18n/xsim/xsim-0.3.9.4-r1.ebuild b/app-i18n/xsim/xsim-0.3.9.4-r1.ebuild
index 4e3e6ac9a5c8..3ce782335706 100644
--- a/app-i18n/xsim/xsim-0.3.9.4-r1.ebuild
+++ b/app-i18n/xsim/xsim-0.3.9.4-r1.ebuild
@@ -1,7 +1,8 @@
# Copyright 1999-2003 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-r1.ebuild,v 1.3 2003/06/29 22:12:04 aliz Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/xsim/xsim-0.3.9.4-r1.ebuild,v 1.4 2003/08/05 15:39:31 vapier Exp $
+inherit eutils
[ -n "`use kde`" ] && inherit kde
DESCRIPTION="A simple and fast GB and BIG5 Chinese XIM server."
@@ -26,11 +27,9 @@ src_unpack() {
cd ${S}
einfo "Patching ./configure to respect CFLAGS .."
sed -i -e "s/\(CFLAGS.*\)-O2/\1${CFLAGS}/" configure
-
}
src_compile() {
-
local myconf
myconf="${myconf} --with-bdb-includes=/usr/include/db3 --with-bdb-libs=/usr/lib"
@@ -42,12 +41,12 @@ src_compile() {
emake xsim_etcp=/etc || die "make failed"
}
-src_install () {
+src_install() {
einstall xsim_datp=${D}/usr/lib/xsim/dat \
- xsim_libp=${D}/usr/lib/xsim/plugins \
- xsim_binp=${D}/usr/bin \
- xsim_etcp=${D}/etc \
- install-data install || die "install failed"
+ xsim_libp=${D}/usr/lib/xsim/plugins \
+ xsim_binp=${D}/usr/bin \
+ xsim_etcp=${D}/etc \
+ install-data install || die "install failed"
sed -i -e "s#DICT_LOCAL\(.*\)/usr/dat#DICT_LOCAL\1/usr/lib/xsim/dat#" \
-e "s#PLUGIN_LOCAL\(.*\)/usr/plugins#PLUGIN_LOCAL\1/usr/lib/xsim/plugins#" \
diff --git a/app-i18n/xsim/xsim-0.3.9.4-r2.ebuild b/app-i18n/xsim/xsim-0.3.9.4-r2.ebuild
index d15ddc825fac..cea94e9fd4ee 100644
--- a/app-i18n/xsim/xsim-0.3.9.4-r2.ebuild
+++ b/app-i18n/xsim/xsim-0.3.9.4-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 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-r2.ebuild,v 1.1 2003/06/27 09:44:58 liquidx Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/xsim/xsim-0.3.9.4-r2.ebuild,v 1.2 2003/08/05 15:39:31 vapier Exp $
[ -n "`use kde`" ] && inherit kde
@@ -24,11 +24,9 @@ src_unpack() {
cd ${S}
einfo "Patching ./configure to respect CFLAGS .."
sed -i -e "s/\(CFLAGS.*\)-O2/\1${CFLAGS}/" configure
-
}
src_compile() {
-
local myconf
use kde \
@@ -38,12 +36,12 @@ src_compile() {
emake xsim_etcp=/etc || die "make failed"
}
-src_install () {
+src_install() {
einstall xsim_datp=${D}/usr/lib/xsim/dat \
- xsim_libp=${D}/usr/lib/xsim/plugins \
- xsim_binp=${D}/usr/bin \
- xsim_etcp=${D}/etc \
- install-data install || die "install failed"
+ xsim_libp=${D}/usr/lib/xsim/plugins \
+ xsim_binp=${D}/usr/bin \
+ xsim_etcp=${D}/etc \
+ install-data install || die "install failed"
sed -i -e "s#DICT_LOCAL\(.*\)/usr/dat#DICT_LOCAL\1/usr/lib/xsim/dat#" \
-e "s#PLUGIN_LOCAL\(.*\)/usr/plugins#PLUGIN_LOCAL\1/usr/lib/xsim/plugins#" \
diff --git a/app-i18n/xsim/xsim-0.3.9.4.ebuild b/app-i18n/xsim/xsim-0.3.9.4.ebuild
index c1031feed4ee..44f35d4c1290 100644
--- a/app-i18n/xsim/xsim-0.3.9.4.ebuild
+++ b/app-i18n/xsim/xsim-0.3.9.4.ebuild
@@ -1,22 +1,19 @@
# Copyright 1999-2003 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.3 2003/06/29 22:12:04 aliz Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/xsim/xsim-0.3.9.4.ebuild,v 1.4 2003/08/05 15:39:31 vapier 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"
+SLOT="0"
+KEYWORDS="x86"
DEPEND="virtual/glibc
>=sys-libs/db-3.0.0"
-IUSE=""
-
-SLOT="0"
src_compile() {
-
cd ${S}
for file in `find . -iname Makefile.in`
do
@@ -25,9 +22,9 @@ src_compile() {
done
./configure \
- --prefix=/usr/lib/xsim \
- --mandir=/usr/share/man \
- || die
+ --prefix=/usr/lib/xsim \
+ --mandir=/usr/share/man \
+ || die
for file in `find . -iname Makefile`
do
@@ -40,14 +37,11 @@ src_compile() {
make || die
}
-src_install () {
- make DESTDIR=${D} \
- install || die
- make DESTDIR=${D} \
- install-data || 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
}
-