diff options
author | Matsuu Takuto <matsuu@gentoo.org> | 2009-02-15 04:27:35 +0000 |
---|---|---|
committer | Matsuu Takuto <matsuu@gentoo.org> | 2009-02-15 04:27:35 +0000 |
commit | 7e27e67d5d28f7246e38324baadddab071ec72b2 (patch) | |
tree | 26355231150ed0a39ae6054350e70b9c61571e5f /app-i18n | |
parent | added warning thanks to Robert Buchholz bug #238119. (diff) | |
download | gentoo-2-7e27e67d5d28f7246e38324baadddab071ec72b2.tar.gz gentoo-2-7e27e67d5d28f7246e38324baadddab071ec72b2.tar.bz2 gentoo-2-7e27e67d5d28f7246e38324baadddab071ec72b2.zip |
Version bumped. Fixed LICENSE. Changed HOMEPAGE.
(Portage version: 2.1.6.7/cvs/Linux x86_64)
Diffstat (limited to 'app-i18n')
-rw-r--r-- | app-i18n/dbskkd-cdb/ChangeLog | 11 | ||||
-rw-r--r-- | app-i18n/dbskkd-cdb/dbskkd-cdb-2.00.ebuild | 44 | ||||
-rw-r--r-- | app-i18n/dbskkd-cdb/files/dbskkd-cdb-2.00-gentoo.patch | 55 | ||||
-rw-r--r-- | app-i18n/dbskkd-cdb/files/dbskkd-cdb.xinetd | 10 |
4 files changed, 118 insertions, 2 deletions
diff --git a/app-i18n/dbskkd-cdb/ChangeLog b/app-i18n/dbskkd-cdb/ChangeLog index 8943e0f99df0..7d8079b01682 100644 --- a/app-i18n/dbskkd-cdb/ChangeLog +++ b/app-i18n/dbskkd-cdb/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for app-i18n/dbskkd-cdb -# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/dbskkd-cdb/ChangeLog,v 1.17 2008/04/13 15:55:49 matsuu Exp $ +# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-i18n/dbskkd-cdb/ChangeLog,v 1.18 2009/02/15 04:27:35 matsuu Exp $ + +*dbskkd-cdb-2.00 (15 Feb 2009) + + 15 Feb 2009; MATSUU Takuto <matsuu@gentoo.org> + +files/dbskkd-cdb-2.00-gentoo.patch, +files/dbskkd-cdb.xinetd, + +dbskkd-cdb-2.00.ebuild: + Version bumped. Fixed LICENSE. Changed HOMEPAGE. 13 Apr 2008; MATSUU Takuto <matsuu@gentoo.org> -files/dbskkd-cdb.xinetd, -dbskkd-cdb-1.01-r1.ebuild: diff --git a/app-i18n/dbskkd-cdb/dbskkd-cdb-2.00.ebuild b/app-i18n/dbskkd-cdb/dbskkd-cdb-2.00.ebuild new file mode 100644 index 000000000000..afa37182d3c2 --- /dev/null +++ b/app-i18n/dbskkd-cdb/dbskkd-cdb-2.00.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-i18n/dbskkd-cdb/dbskkd-cdb-2.00.ebuild,v 1.1 2009/02/15 04:27:35 matsuu Exp $ + +EAPI="2" +inherit eutils multilib toolchain-funcs + +DESCRIPTION="Yet another Dictionary server for the SKK Japanese-input software" +HOMEPAGE="http://dbskkd-cdb.googlecode.com/" +SRC_URI="http://dbskkd-cdb.googlecode.com/files/${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" +IUSE="" + +DEPEND="|| ( dev-db/cdb dev-db/tinycdb )" +RDEPEND=">=app-i18n/skk-jisyo-200705[cdb] + sys-apps/xinetd" + +pkg_setup() { + enewuser dbskkd -1 -1 -1 +} + +src_prepare() { + epatch "${FILESDIR}/${P}-gentoo.patch" + sed -i -e "/^CDBLIB/s:lib:$(get_libdir):" Makefile || die + if has_version dev-db/cdb ; then + sed -i -e "/^CDBLIB/s:$: /usr/$(get_libdir)/byte.a /usr/$(get_libdir)/unix.a:" Makefile || die + fi +} + +src_compile() { + emake CC="$(tc-getCC)" || die +} + +src_install() { + emake DESTDIR="${D}" install || die + + insinto /etc/xinetd.d + newins "${FILESDIR}/${PN}.xinetd" ${PN} || die + + dodoc CHANGES README* *.txt +} diff --git a/app-i18n/dbskkd-cdb/files/dbskkd-cdb-2.00-gentoo.patch b/app-i18n/dbskkd-cdb/files/dbskkd-cdb-2.00-gentoo.patch new file mode 100644 index 000000000000..1b6930ce3bd0 --- /dev/null +++ b/app-i18n/dbskkd-cdb/files/dbskkd-cdb-2.00-gentoo.patch @@ -0,0 +1,55 @@ +diff -Naur dbskkd-cdb-2.00.orig/Makefile dbskkd-cdb-2.00/Makefile +--- dbskkd-cdb-2.00.orig/Makefile 2009-02-06 11:56:47.000000000 +0900 ++++ dbskkd-cdb-2.00/Makefile 2009-02-13 15:39:03.000000000 +0900 +@@ -1,12 +1,15 @@ + # dbskkd-cdb Makefile + +-CC = cc -Wall -O2 -g -I/usr/local/include ++CC = cc ++CFLAGS += -Wall -g -I/usr/include ++LDFLAGS = + COMPAT = +-CDBLIB = /usr/local/lib/libcdb.a +-INSTALLDIR = /usr/local/libexec ++CDBLIB = /usr/lib/libcdb.a ++INSTALLDIR = /usr/libexec ++DESTDIR = + + .c.o: +- $(CC) $(COMPAT) $(PRIVATE) -c $*.c ++ $(CC) $(CFLAGS) $(COMPAT) $(PRIVATE) -c $*.c + + all: dbskkd-cdb + +@@ -14,15 +17,16 @@ + /bin/rm -f dbskkd-cdb *.o + + dbskkd-cdb: dbskkd-cdb.o +- $(CC) $(COMPAT) $(PRIVATE) -o dbskkd-cdb \ ++ $(CC) $(LDFLAGS) $(COMPAT) $(PRIVATE) -o dbskkd-cdb \ + dbskkd-cdb.o ${CDBLIB} + + dbskkd-cdb.o: dbskkd-cdb.c +- $(CC) $(COMPAT) $(PRIVATE) -c dbskkd-cdb.c ++ $(CC) $(CFLAGS) $(COMPAT) $(PRIVATE) -c dbskkd-cdb.c + + error.o: error.c error.h + + install: dbskkd-cdb +- cp dbskkd-cdb $(INSTALLDIR); chmod 755 $(INSTALLDIR)/dbskkd-cdb ++ mkdir -p $(DESTDIR)$(INSTALLDIR) ++ cp dbskkd-cdb $(DESTDIR)$(INSTALLDIR); chmod 755 $(DESTDIR)$(INSTALLDIR)/dbskkd-cdb + + # end of makefile +diff -Naur dbskkd-cdb-2.00.orig/dbskkd-cdb.c dbskkd-cdb-2.00/dbskkd-cdb.c +--- dbskkd-cdb-2.00.orig/dbskkd-cdb.c 2009-02-06 11:56:47.000000000 +0900 ++++ dbskkd-cdb-2.00/dbskkd-cdb.c 2009-02-13 15:25:25.000000000 +0900 +@@ -27,7 +27,7 @@ + * spelling changed from JISHO to JISYO + */ + #ifndef JISYO_FILE +-#define JISYO_FILE "/usr/local/share/skk/SKK-JISYO.L.cdb" ++#define JISYO_FILE "/usr/share/skk/SKK-JISYO.L.cdb" + #endif /* JISYO_FILE */ + + #define BUFSIZE (1024) /* max size of a request */ diff --git a/app-i18n/dbskkd-cdb/files/dbskkd-cdb.xinetd b/app-i18n/dbskkd-cdb/files/dbskkd-cdb.xinetd new file mode 100644 index 000000000000..674927fe90b4 --- /dev/null +++ b/app-i18n/dbskkd-cdb/files/dbskkd-cdb.xinetd @@ -0,0 +1,10 @@ +service skkserv +{ + socket_type = stream + wait = no + user = dbskkd + protocol = tcp + port = 1178 + server = /usr/libexec/dbskkd-cdb + disable = yes +} |